npmcm

2.1.0 • Public • Published

NPM Configuration Manager

===

Usage

var NPMCM = require('NPMCM');
 
NPMCM('port'); // '8000'

Sources & priority

  1. Environment variables
export port=8000
  1. .npmrc --global
port=8000
  1. CLI
npm start --port=8000
  1. .npmrc
<package-name>:port=8000
  1. package.json
{
    config: {
        port: 8000
    }
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i npmcm

      Weekly Downloads

      6

      Version

      2.1.0

      License

      ISC

      Last publish

      Collaborators

      • godu