All Projects → kevva → npm-conf

kevva / npm-conf

Licence: MIT license
Get the npm config

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to npm-conf

uconfig
Lightweight, zero-dependency, and extendable configuration management library for Go
Stars: ✭ 53 (+51.43%)
Mutual labels:  config
libconfigini
Configuration parser library in INI format
Stars: ✭ 32 (-8.57%)
Mutual labels:  config
cfg-rs
A Configuration Library for Rust Applications
Stars: ✭ 18 (-48.57%)
Mutual labels:  config
nvim
❤️ A neovim config repo.
Stars: ✭ 33 (-5.71%)
Mutual labels:  config
croconf
A flexible and composable configuration library for Go that doesn't suck
Stars: ✭ 14 (-60%)
Mutual labels:  config
MatrixChecks
The optimized checks for Matrix Anticheat, a powerful anticheat for Minecraft.
Stars: ✭ 70 (+100%)
Mutual labels:  config
Tieba-Birthday-Spider
百度贴吧生日爬虫,可抓取贴吧内吧友生日,并且在对应日期自动发送祝福
Stars: ✭ 28 (-20%)
Mutual labels:  config
remote-origin-url
Extract the git remote origin URL from your local git repository.
Stars: ✭ 15 (-57.14%)
Mutual labels:  config
dotfiles
🏠 ~/
Stars: ✭ 19 (-45.71%)
Mutual labels:  config
neovimfiles
My Neovim configuration written in Lua
Stars: ✭ 52 (+48.57%)
Mutual labels:  config
kerrigan
基于Tornado实现的一套配置中心,可基于分项目、环境管理配置,语法高亮、对比历史版本、快速回滚等,并提供Restful风格的API
Stars: ✭ 57 (+62.86%)
Mutual labels:  config
i3
Archivos de configuraciones de i3
Stars: ✭ 32 (-8.57%)
Mutual labels:  config
MSI-Modern15-Hackintosh
My MSI Modern 15 Hackintosh repo
Stars: ✭ 16 (-54.29%)
Mutual labels:  config
php-nacos
阿里巴巴nacos配置中心-PHP客户端
Stars: ✭ 167 (+377.14%)
Mutual labels:  config
go-appdir
Minimalistic Go package to get application directories such as config and cache
Stars: ✭ 62 (+77.14%)
Mutual labels:  config
ApexConfigs
Apex Legends configs for a competitve player
Stars: ✭ 52 (+48.57%)
Mutual labels:  config
dotfiles
My dot files and dev environment using bash, tmux and vim
Stars: ✭ 61 (+74.29%)
Mutual labels:  config
config-command
Generates and reads the wp-config.php file.
Stars: ✭ 32 (-8.57%)
Mutual labels:  config
exenv
Exenv makes loading environment variables from external sources easy.
Stars: ✭ 35 (+0%)
Mutual labels:  config
StarCategorizer
assign steamshop genres to your steam library games, even on private profiles
Stars: ✭ 18 (-48.57%)
Mutual labels:  config

npm-conf Build Status

Get the npm config

Install

$ npm install npm-conf

Usage

const npmConf = require('npm-conf');

const conf = npmConf();

conf.get('prefix')
//=> //=> /Users/unicorn/.npm-packages

conf.get('registry')
//=> https://registry.npmjs.org/

To get a list of all available npm config options:

$ npm config list --long

API

npmConf()

Returns the npm config.

npmConf.defaults

Returns the default npm config.

License

MIT © Kevin Mårtensson

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].