1.1.0 • Published 5 years ago

require-global-npm v1.1.0

Weekly downloads
4
License
Unlicense
Repository
github
Last release
5 years ago

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