Socket
Socket
Sign inDemoInstall

node-version-data

Package Overview
Dependencies
17
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
372
decreased by-11%
Maintainers
1
Install size
595 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 05 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc