Check Node.js LTS and Latest versions
npm install @light-planck/node-versionsA CLI tool to check Node.js LTS and Latest versions
``bashDefault: Show both LTS and Latest versions
npx @light-planck/node-versionsLTS: v22.17.0
Latest: v24.3.0
Options
-
--lts - Show only LTS version
- --latest - Show only Latest version
- --json - Output in JSON format
- --help - Show help
- --version - Show versionTechnical Specifications
- Requires Node.js 22 or higher
- Implemented in TypeScript
- Fetches version information from Node.js official API
- Dependencies:
commander (CLI framework)Installation
`bash
Install globally
npm install -g @light-planck/node-versionsOr use directly with npx
npx @light-planck/node-versions
`Development
`bash
Install dependencies
pnpm installBuild
pnpm run buildDevelopment mode (watch)
pnpm run devTest locally
node dist/index.js
``MIT