An open API service indexing awesome lists of open source software.

https://github.com/commenthol/require-global-npm

require npm from the global install
https://github.com/commenthol/require-global-npm

Last synced: 12 days ago
JSON representation

require npm from the global install

Awesome Lists containing this project

README

          

# 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

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

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

## Installation

Requires [nodejs](http://nodejs.org/).

```sh
$ npm install require-global-npm
```

## Tests

```sh
$ npm test
```

## License

Unlicense