require-global-npm

require npm from the global install


Keywords
global, npm, require
License
Unlicense
Install
npm install require-global-npm@1.1.0

Documentation

require-global-npm

require npm from the global install

No need to install npm in your project as it's already here...

Usage

e.g. running npm info require-global-npm without cli

var requireNpm = require('require-global-npm')
var npm = requireNpm()

npm.load((err, _npm) => {
  _npm.commands.info(['require-global-npm'], (err, data) => {
    // ...
  })
})

Installation

Requires nodejs.

$ npm install require-global-npm

Tests

$ npm test

License

Unlicense https://unlicense.org