node-version-data
v1.1.0
Published
Load all Node.js and io.js versions and metadata about them
Downloads
1,439
Readme
node-version-data
Load all Node.js and io.js versions and metadata about them.
Data is loaded from:
- https://nodejs.org/download/release/index.json
- https://iojs.org/download/release/index.json
API
const nodeVersionData = require('node-version-data')
nodeVersionData(function (err, data) {
// err or an Array containing versions in SemVer order
// with the newest releases at the front of the Array
})
Example data
{
version: 'v4.2.1',
date: '2015-10-13',
files:
[ 'headers',
'linux-arm64',
'linux-armv6l',
'linux-armv7l',
'linux-x64',
'linux-x86',
'osx-x64-pkg',
'osx-x64-tar',
'src',
'sunos-x64',
'sunos-x86',
'win-x64-msi',
'win-x86-msi' ],
npm: '2.14.7',
v8: '4.5.103.35',
uv: '1.7.5',
zlib: '1.2.8',
openssl: '1.0.2d',
modules: '46',
lts: 'Argon',
name: 'Node.js',
url: 'https://nodejs.org/download/release/v4.2.1/'
}
The name
and url
properties are in addition to the original data.
License
node-version-data is Copyright (c) 2015 Rod Vagg @rvagg and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.