New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

node-version-data

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-version-data

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

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
16
-64.44%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

cream cheese

FAQs

Package last updated on 05 Sep 2019

Related posts