npmcm
v2.1.0
Published
NPM Configuration Manager
Downloads
5
Readme
NPM Configuration Manager
===
Usage
var NPMCM = require('NPMCM');
NPMCM('port'); // '8000'
Sources & priority
- Environment variables
export port=8000
.npmrc
--global
port=8000
- CLI
npm start --port=8000
.npmrc
<package-name>:port=8000
package.json
{
config: {
port: 8000
}
}