Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. npm
  3. npm-check

npm-check

MITJavaScriptv6.0.1

A command-line tool to check for outdated, incorrect, and unused npm dependencies with interactive updates.

Visit WebsiteGitHubGitHub
6.6k stars235 forks0 contributors

What is npm-check?

npm-check is a command-line tool that analyzes npm dependencies in Node.js projects. It checks for outdated packages, identifies unused dependencies, and provides an interactive way to update them safely. It solves the problem of manual dependency maintenance and reduces bloat in package.json.

Target Audience

Node.js developers and teams who need to keep their project dependencies up-to-date and clean, especially those working on multiple projects or in CI/CD environments.

Value Proposition

Developers choose npm-check for its comprehensive analysis, interactive update interface, and support for various registries. It improves over npm's built-in outdated command by adding unused dependency detection and a safer, more user-friendly update process.

Overview

Check for outdated, incorrect, and unused dependencies.

Use Cases

Best For

  • Auditing project dependencies for outdated versions
  • Identifying and removing unused npm packages to reduce bundle size
  • Safely updating multiple dependencies with interactive prompts
  • Checking globally installed npm packages for updates
  • Integrating dependency checks into CI/CD pipelines
  • Managing private registry packages alongside public ones

Not Ideal For

  • Projects exclusively using Yarn or pnpm without npm in their workflow
  • Teams requiring fully automated dependency updates with complex version pinning or lockfile management
  • Environments where command-line tools with interactive prompts are impractical, such as headless servers without TTY
  • Developers needing integrated security vulnerability scanning alongside dependency updates

Pros & Cons

Pros

Comprehensive Outdated Detection

Identifies packages with newer versions available and provides links to documentation, helping developers make informed update decisions, as shown in the README's feature list.

Interactive Update Interface

Offers a user-friendly UI with the -u flag for selectively updating packages, reducing typos and manual errors, demonstrated in the interactive gif and options section.

Unused Dependency Check

Integrates with depcheck to flag modules not referenced in code, supporting ES6 import syntax, as mentioned in the features and specials option.

Registry and Environment Flexibility

Works with public npm, private registries, Sinopia, and supports npm@2, npm@3, ied, pnpm, detailed in the registry flexibility and installer options.

Cons

No Built-in Security Auditing

Unlike npm audit, npm-check does not scan for known security vulnerabilities in dependencies, requiring separate tools for comprehensive safety, a missing feature not addressed in the README.

Dependency on Depcheck Accuracy

Unused dependency detection relies on depcheck, which can have false positives or miss complex usage patterns, as noted in the integration and specials options for config files.

Node Version Requirement

Requires Node >= 10.9.0, which may exclude projects stuck on older Node versions for compatibility reasons, as stated in the requirements section.

Frequently Asked Questions

Quick Stats

Stars6,637
Forks235
Contributors0
Open Issues208
Last commit6 days ago
CreatedSince 2014

Tags

#unused-dependencies#npm#package-audit#dev-tools#cli-tool#dependency-management#nodejs

Built With

N
Node.js

Links & Resources

Website

Included in

npm4.7k
Auto-fetched 20 hours ago

Related Projects

npm-run-allnpm-run-all

A CLI tool to run multiple npm-scripts in parallel or sequential.

Stars5,839
Forks239
Last commit1 year ago
npm-windows-upgradenpm-windows-upgrade

:rocket: Upgrade npm on Windows

Stars2,507
Forks145
Last commit5 years ago
emma-cliemma-cli

📦 Terminal assistant to find and install node packages.

Stars1,245
Forks42
Last commit8 days ago
local-npmlocal-npm

Local and offline-first npm mirror

Stars1,173
Forks80
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub