npm-check is a command-line tool that identifies outdated, incorrect, and unused dependencies in Node.js projects.
The tool addresses the common problem of dependency management by scanning your project to detect packages that have newer versions available, packages listed in package.json but not actually used in your code, and packages with incorrect configurations. It works by analyzing require and import statements in your codebase and comparing installed versions against the npm registry, providing direct links to package documentation to help you decide whether to update.
npm-check suits developers who want a straightforward way to maintain their dependency trees without manual checking. It works well for projects of any size and is particularly useful in CI/CD pipelines where you can set it to return a non-zero exit code when updates are needed. The tool distinguishes itself through an interactive update mode that lets you selectively upgrade packages with minimal typing, support for scoped packages and private registries, and the ability to check globally installed packages. It respects your existing npm installation and works with alternative package managers like pnpm and ied through environment variable configuration.
The project maintains active engagement with its codebase through regular updates and bug fixes. Development shows responsiveness to user-reported issues and incorporates feedback into new releases. The maintainer actively addresses compatibility concerns as the Node.js and npm ecosystems evolve, ensuring the tool continues to work reliably across different versions and configurations.