@lerna/has-npm-version

Test if the current version of npm satisfies a given semver range

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Last updated 6 years ago by evocateur .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @lerna/has-npm-version 
SYNC missed versions from official npm registry.

@lerna/has-npm-version

Test if the current version of npm satisfies a given semver range

Usage

const { hasNpmVersion } = require("@lerna/has-npm-version");

// `npm --version` === 6.3.0
hasNpmVersion(">=6"); // => true

// `npm --version` === 5.6.0
hasNpmVersion(">=6"); // => false

// `npm --version` === 6.3.0
hasNpmVersion(">=5"); // => true

Install lerna for access to the lerna CLI.

Current Tags

  • 6.4.1                                ...           latest (2 years ago)
  • 6.3.1-beta.8                                ...           next (2 years ago)

56 Versions

  • 6.4.1 [deprecated]           ...           2 years ago
  • 6.4.0 [deprecated]           ...           2 years ago
  • 6.3.1-beta.8 [deprecated]           ...           2 years ago
  • 6.3.1-beta.7 [deprecated]           ...           2 years ago
  • 6.3.1-beta.6 [deprecated]           ...           2 years ago
  • 6.3.1-beta.5 [deprecated]           ...           2 years ago
  • 6.3.1-beta.3 [deprecated]           ...           2 years ago
  • 6.3.1-beta.2 [deprecated]           ...           2 years ago
  • 6.3.1-beta.1 [deprecated]           ...           2 years ago
  • 6.3.1-beta.0 [deprecated]           ...           2 years ago
  • 6.3.0 [deprecated]           ...           2 years ago
  • 6.2.0 [deprecated]           ...           2 years ago
  • 6.1.0 [deprecated]           ...           2 years ago
  • 6.0.3 [deprecated]           ...           2 years ago
  • 6.0.2 [deprecated]           ...           2 years ago
  • 6.0.1 [deprecated]           ...           2 years ago
  • 6.0.0 [deprecated]           ...           2 years ago
  • 6.0.0-alpha.2 [deprecated]           ...           2 years ago
  • 6.0.0-alpha.1 [deprecated]           ...           2 years ago
  • 5.6.2 [deprecated]           ...           2 years ago
  • 6.0.0-alpha.0 [deprecated]           ...           2 years ago
  • 5.6.1 [deprecated]           ...           2 years ago
  • 5.6.0 [deprecated]           ...           2 years ago
  • 5.5.4 [deprecated]           ...           2 years ago
  • 5.5.3 [deprecated]           ...           2 years ago
  • 5.5.2 [deprecated]           ...           2 years ago
  • 5.5.1 [deprecated]           ...           2 years ago
  • 5.5.0 [deprecated]           ...           2 years ago
  • 5.4.3 [deprecated]           ...           2 years ago
  • 5.4.2 [deprecated]           ...           2 years ago
  • 5.4.1 [deprecated]           ...           2 years ago
  • 5.4.0 [deprecated]           ...           2 years ago
  • 5.3.0 [deprecated]           ...           2 years ago
  • 5.2.0 [deprecated]           ...           2 years ago
  • 5.1.8 [deprecated]           ...           2 years ago
  • 5.1.7 [deprecated]           ...           2 years ago
  • 5.1.6 [deprecated]           ...           2 years ago
  • 5.1.5 [deprecated]           ...           2 years ago
  • 5.1.4 [deprecated]           ...           2 years ago
  • 5.1.3 [deprecated]           ...           2 years ago
  • 5.1.1 [deprecated]           ...           2 years ago
  • 5.1.0 [deprecated]           ...           2 years ago
  • 5.1.0-alpha.0 [deprecated]           ...           2 years ago
  • 5.0.0 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.2 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.1 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.0 [deprecated]           ...           2 years ago
  • 4.0.0 [deprecated]           ...           4 years ago
  • 3.16.5 [deprecated]           ...           5 years ago
  • 3.16.0 [deprecated]           ...           5 years ago
  • 3.14.2 [deprecated]           ...           5 years ago
  • 3.13.3 [deprecated]           ...           6 years ago
  • 3.13.0 [deprecated]           ...           6 years ago
  • 3.10.0 [deprecated]           ...           6 years ago
  • 3.3.0 [deprecated]           ...           6 years ago
  • 3.0.4 [deprecated]           ...           6 years ago
Maintainers (2)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE