Get the list of os/nightly node versions.
$ npm install --save node-nightly-versions
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-msi',
'win-x86-msi' ]
P.P.S: If process.env.NODEJS_ORG_NIGHTLY_MIRROR
is set, it shall pick-up that URL.
MIT © Hemanth.HM