{"library":"expected-node-version","type":"library","category":null,"description":"The `expected-node-version` package provides a utility to programmatically retrieve the expected Node.js version for a project. It prioritizes speed and common configuration practices by checking environment variables (specifically `npm_package_engines_node` which is set by `npm start`), followed by the `.nvmrc` file, and finally the `engines.node` field within the `package.json`. This specific load order ensures that the most direct and often project-specific version is identified quickly. The current stable version is 1.0.2, with recent minor updates indicating active maintenance, though not a rapid release cycle. Its primary use case is for tools or scripts that need to determine the project's intended Node.js runtime without parsing multiple files manually, streamlining environment checks and ensuring compatibility. It simplifies the process of aligning development environments with project requirements.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","node","version","npmrc"],"last_verified":"Wed May 27","install":[{"cmd":"npm install expected-node-version","imports":["const expectedNodeVersion = require('expected-node-version');"]},{"cmd":"yarn add expected-node-version","imports":[]},{"cmd":"pnpm add expected-node-version","imports":[]}],"homepage":null,"github":"https://github.com/marcbachmann/expected-node-version","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/expected-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/expected-node-version/compatibility"}}