Get the npm config
Install
$ npm install npm-conf
Usage
const npmConf = ; const conf = ; conf//=> //=> /Users/unicorn/.npm-packages conf//=> 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