<h1 align="center"npm-deprecated-check</h1 <p align="center"Check for deprecated packages</p
Preview
<p align="center"<img src="./assets/preview.png" /</p
Requirements
Since version 1.4.0, npm-deprecated-check requires Node.js 18 or higher.
Install
npm install -g npm-deprecated-checkFeatures
- Check the packages of current project, global or specified is deprecated.
- According to the version range of lockfile and package.json.
- Additionally checks if the running node version reached End Of Life.
- Return the minimum upgradable version.
- Check if the current environment meets the Node.js version range required for dependency operation.
- Calculate the minimum Node.js version required across all dependencies.
- Suggest compatible dependency versions when Node.js version requirements are not met.
- Check Node.js version compatibility for a project or package when upgrading or downgrading Node.js.
- MCP Server support: expose tools for external AI agents to consume deprecation data.
Node.js Version Compatibility
The tool automatically analyzes Node.js version requirements across all dependencies and provides helpful information.
Default Output
By default, you get a concise summary showing the recommended engines.node value:
Node Version Summary:
Minimum engines.node: >=20.0.0
Recommendation: Update package.json engines.node to ">=20.0.0"
Current: >=18.12Detailed Output (--verbose)
Use the --verbose flag for detailed information:
ndc current --verbose