npm

node-nightly-versions

1.0.2 • Public • Published

node-nightly-versions Build Status

Get the list of os/nightly node versions.

Install

$ npm install --save node-nightly-versions

Usage

nodeNightlyversions()
.then(versions => versions['linux-x64'].version) // v7.0.0-nightly201608074c86fa30d8
.catch(console.error);

P.S: keys of versions:

[ 'headers',
  'linux-x64',
  'linux-x86',
  'osx-x64-pkg',
  'osx-x64-tar',
  'osx-x86-tar',
  'src',
  'sunos-x64',
  'sunos-x86',
  'win-x64-exe',
  'win-x86-exe',
  'win-x86-msi' ]

P.P.S: If process.env.NODEJS_ORG_NIGHTLY_MIRROR is set, it shall pick-up that URL.

License

MIT © Hemanth.HM

Package Sidebar

Install

npm i node-nightly-versions

Weekly Downloads

126

Version

1.0.2

License

MIT

Last publish

Collaborators

  • hemanth