node-version-data

Load all Node.js and io.js versions and metadata about them

Usage no npm install needed!

<script type="module">
  import nodeVersionData from 'https://cdn.skypack.dev/node-version-data';
</script>

README

node-version-data

Load all Node.js and io.js versions and metadata about them.

Data is loaded from:

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.