You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

node-releases

Package Overview
Dependencies
0
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-releases

Node.js releases data


Version published
Maintainers
1
Created

Package description

What is node-releases?

The node-releases npm package provides information about Node.js releases. It includes data such as version numbers, release dates, and whether a release is LTS (Long-Term Support) or not. This can be useful for developers who need to programmatically access details about Node.js versions for compatibility checks, automation, or other purposes.

What are node-releases's main functionalities?

Get all Node.js releases

This feature allows you to retrieve an array of all Node.js releases, each containing details like the version, date, npm version, v8 version, etc.

const nodeReleases = require('node-releases');
console.log(nodeReleases);

Find a specific Node.js release

This feature enables you to find a specific Node.js release by version number, allowing you to access detailed information about that release.

const nodeReleases = require('node-releases');
const release = nodeReleases.find(release => release.version === 'v10.0.0');
console.log(release);

Filter Node.js releases by LTS status

This feature allows you to filter Node.js releases to only include those that are marked as Long-Term Support (LTS) versions.

const nodeReleases = require('node-releases');
const ltsReleases = nodeReleases.filter(release => release.lts);
console.log(ltsReleases);

Other packages similar to node-releases

Readme

Source

Node.js releases data

All data is located in data directory.

data/processed contains envs.json with node.js releases data preprocessed to be used by Browserslist and other projects. Each version in this file contains only necessary info: version, release date, LTS flag/name, and security flag.

data/release-schedule contains release-schedule.json with node.js releases date and end of life date.

Installation

npm install node-releases

Keywords

FAQs

Package last updated on 22 Jul 2024

Did you know?

Socket

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc