
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Vernode checks for latest NodeJS versions.
You can use this as a module in your NodeJS program or as a CLI command in your system.
NodeJS version 18.0.0 or higher because of Fetch API.
By using NPM
npm i vernode
By using PNPM
pnpm add vernode
By using BUN
bun i vernode
import vernode, { lts, current, nightly } from 'vernode';
const versions = await vernode();
console.log(versions);
// { lts: '20.11.1', current: '21.6.2', nightly: '22.0.0' }
console.log(versions.lts); // 20.11.1
console.log(versions.current); // 21.6.2
console.log(versions.nightly); // 22.0.0
console.log(await lts()); // 20.11.1
console.log(await current()); // 21.6.2
console.log(await nightly()); // 22.0.0
By using NPM
npm i -g vernode
By using PNPM
pnpm add -g vernode
By using BUN
bun i -g vernode
vernode
# LTS: 20.14.0
# Current: 22.2.0
# Nightly: 23.0.0
vernode json
# { lts: '20.14.0', current: '22.2.0', nightly: '23.0.0' }
vernode lts
# 20.14.0
vernode current
# 22.2.0
vernode nightly
# 23.0.0
vernode help
# guess what it does
You can use the CLI command without installing it by using PNPM DLX.
pnpm dlx vernode
Bun.sh also supports running code without installation. Following command will print versions in JSON format.
bunx vernode json
FAQs
Checks for latest NodeJS versions
We found that vernode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.