New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-latest

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-latest

Determine the lastest Node or npm version.

latest
Source
npmnpm
Version
4.0.1
Version published
Weekly downloads
111
-5.13%
Maintainers
1
Weekly downloads
 
Created
Source

node-latest

Determine the lastest Node or npm version.

Installation

npm i -S node-latest

Example Usage

const { node, npm } = require("node-latest");

async function example() {
  console.log("node.current:", node.current);
  console.log("node.latest: ", await node.latest());
  console.log("node.lts:    ", await node.lts());
  console.log("npm.current: ", await npm.current());
  console.log("npm.latest:  ", await npm.latest());
  console.log("npm.next:    ", await npm.next());
  console.log("npm.lts:     ", await npm.lts());
}

example();

/*
node.current: 14.5.0
node.latest:  14.10.1
node.lts:     12.18.3
npm.current:  6.14.5
npm.latest:   6.14.8
npm.next:     6.14.8
npm.lts:      6.14.8
*/

License

WTFPL – Do What the F*ck You Want to Public License.

Keywords

node

FAQs

Package last updated on 15 Sep 2020

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