{"library":"check-node-version","type":"library","category":null,"description":"check-node-version is a utility designed to verify that the currently installed versions of Node.js and various package managers (npm, npx, yarn, and pnpm) meet specified semantic version ranges. It operates both as a command-line interface (CLI) tool for script automation and offers a programmatic API for integration into applications. The current stable version is 4.2.1, indicating a mature and well-established package. Its primary function is to prevent common environment-related issues by providing clear feedback and suggested installation steps (e.g., using `nvm`) when version requirements are not met. This makes it a crucial tool for maintaining consistent development and deployment environments across teams and CI/CD pipelines, differing from simple `node -v` by offering comprehensive checks and actionable advice for multiple tools.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript","version","semver","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install check-node-version","imports":["import check from 'check-node-version';","const check = require('check-node-version');","import type { CliOptions } from 'check-node-version';"]},{"cmd":"yarn add check-node-version","imports":[]},{"cmd":"pnpm add check-node-version","imports":[]}],"homepage":null,"github":"https://github.com/parshap/check-node-version","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/check-node-version","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/check-node-version/compatibility"}}