4.0.0 • Published 10 years ago

assert-npm-version v4.0.0

Weekly downloads
115
License
MIT
Repository
github
Last release
10 years ago

assert-npm-version

NPM version build status Downloads js-standard-style

Assert that npm is at least a certain version.

Installation

$ npm install assert-npm-version

Usage

cli

$ assert-npm-version >=2.0.0

package.json

{
  "scripts": {
    "prepublish": "assert-npm-version >=2.0.0"
  }
}

Why?

When working with multiple people and / or node versions, it can quickly become confusing what features npm has, or doesn't have. By asserting that npm is at least a certain version, at least some npm related issues can be caught early.

License

MIT

4.0.0

10 years ago

3.0.0

10 years ago

2.0.0

10 years ago

1.1.0

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago