0.0.3 • Published 7 years ago

ensure-npm v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

ensure-npm

Use this to make sure that your users are using the right version of npm.

cli usage

$ ensure-npm '5.0.0'
$ ensure-npm '>= 4.3.0'

use with npm install

Install it to your project as a devDependency

$ npm install ensure-npm --save-dev

Then edit your package.json

# package.json
"scripts": {
  "preinstall": "ensure-npm '>=5.0.4'"
}
0.0.3

7 years ago

0.0.2

8 years ago