Skip to content

📥Get the version of latest (LTS) node.js and versions of its modules

License

Notifications You must be signed in to change notification settings

DavidCai1111/nodejs-latest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-latest

js-standard-style Build Status Coverage Status

Get the version of latest (LTS) node.js and versions of its modules.

Install

npm install nodejs-latest

Usage

const { latest, latestLTS } = require('nodejs-latest')

latest().then(console.log)
// =>
// { version: '6.4.0',
//   npm: '3.10.3',
//   v8: '5.0.71.60',
//   uv: '1.9.1',
//   zlib: '1.2.8',
//   openssl: '1.0.2h',
//   modules: '48',
//   lts: false }

latestLTS().then(console.log)
// =>
// { version: '4.5.0',
//   npm: '2.15.9',
//   v8: '4.5.103.37',
//   uv: '1.9.1',
//   zlib: '1.2.8',
//   openssl: '1.0.2h',
//   modules: '46',
//   lts: 'Argon' }

API

latest

Get the version of latest node.js and versions of its modules, return a Promise.

latestLTS

Get the version of latest LTS node.js and versions of its modules, return a Promise.

About

📥Get the version of latest (LTS) node.js and versions of its modules

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages