node-latest
Determine the lastest Node or npm version.
Last updated 4 years ago by marktiedemann .
WTFPL · Repository · Bugs · Original npm · Tarball · package.json
$ npm install node-latest 
SYNC missed versions from official npm registry.

node-latest

Determine the lastest Node or npm version.

Installation

npm i -S node-latest

Example Usage

const { node, npm } = require("node-latest");

async function example() {
  console.log("node.current:", node.current);
  console.log("node.latest: ", await node.latest());
  console.log("node.lts:    ", await node.lts());
  console.log("npm.current: ", await npm.current());
  console.log("npm.latest:  ", await npm.latest());
  console.log("npm.next:    ", await npm.next());
  console.log("npm.lts:     ", await npm.lts());
}

example();

/*
node.current: 14.5.0
node.latest:  14.10.1
node.lts:     12.18.3
npm.current:  6.14.5
npm.latest:   6.14.8
npm.next:     6.14.8
npm.lts:      6.14.8
*/

License

WTFPL – Do What the F*ck You Want to Public License.

Current Tags

  • 4.0.1                                ...           latest (4 years ago)

6 Versions

  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.1.0                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

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