Depcheck
Utility that inspects a Node.js module to list dependencies declared in package.json but never used in source, as well as missing dependencies that the code imports but the manifest does not declare.
Depcheck at github.com/depcheck/depcheck is a free MIT Node dependency inspector, npm 1.4.7 Node 10+, parses source tree and compares imports against package.json dependencies and devDependencies, reports declared-but-unused packages and used-but-missing packages, flags unused devDependencies and configured ignore patterns, CLI runs locally or in CI to keep manifest aligned with imports, catches stale dependencies before install bloat, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Depcheck free?
Depcheck: Depcheck is free open-source software released under the MIT License; the depcheck package latest 1.4.7 on npm declares Node 10 or above. It parses the source tree and compares imported modules against the dependencies and devDependencies listed in package.json, reporting packages that are declared but never required or imported, and packages that the code uses but are missing from the manifest. It also flags unused devDependencies and ignores entries that match configured patterns. The CLI runs locally or in CI to keep package.json aligned with actual imports, catching stale dependencies before they bloat installs. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Depcheck free?
The code is free to self-host, but a hosted plan from the vendor may not be. Depcheck publishes its source, so cost depends on where you run it.
How much does Depcheck cost?
Depcheck is free open-source software released under the MIT License; the depcheck package latest 1.4.7 on npm declares Node 10 or above. It parses the source tree and compares imported modules against the dependencies and devDependencies listed in package.json, reporting packages that are declared but never required or imported, and packages that the code uses but are missing from the manifest. It also flags unused devDependencies and ignores entries that match configured patterns. The CLI runs locally or in CI to keep package.json aligned with actual imports, catching stale dependencies before they bloat installs. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Depcheck's current pricing?
On Depcheck's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Depcheck?
Source imports are matched against package.json entries, unused dependencies are declared but never imported, missing dependencies are imported but undeclared, and ignore patterns exclude generated or special files from the report.
How does pricing work?
The CLI installs free under MIT with no seat license; language parsers and integrations follow their own terms, and commercial support would be outside the open-source project.
How does Depcheck compare with other tools in Dev Workflow & Productivity?
Depcheck is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Depcheck | Open source | Depcheck is free open-source software released under the MIT License; the depcheck package latest 1.4.7 on npm declares Node 10 or above. It parses the source tree and compares imported modules against the dependencies and devDependencies listed in package.json, reporting packages that are declared but never required or imported, and packages that the code uses but are missing from the manifest. It also flags unused devDependencies and ignores entries that match configured patterns. The CLI runs locally or in CI to keep package.json aligned with actual imports, catching stale dependencies before they bloat installs. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Dependency Cruiser | Open source | Dependency Cruiser is free open-source software released under the MIT License; the dependency-cruiser package latest 18.8.0 on npm supports Node 22, 24 or 26 and above. It parses imports and require calls across JavaScript, TypeScript and CoffeeScript modules, builds a dependency graph, and checks that graph against declarative rules that allow or forbid certain relationships, such as circular dependencies, layered architecture violations or imports from disallowed folders. Outputs include text, HTML and SVG reports, JSON for CI integration, and metrics on the number of dependencies and cycles. The tool runs locally in a project or in CI to keep module boundaries consistent over time. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Knip | Open source | Knip is free open-source software released under the ISC License; the knip package latest 6.47.0 on npm requires Node 20.19.0 or above, or Node 22.12.0 or above. It reads the project source and package manifests, traces which dependencies are actually imported, and reports packages listed but never used, exports that no other file consumes, files that are never referenced, and entry points that may be missing. It works across TypeScript and JavaScript projects and can be wired into CI to keep the dependency list and codebase from accumulating dead weight. The reports distinguish unused dependencies from unused exports and files, so cleanup can be split between package removal and code deletion. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Depcheck's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Depcheck is free open-source software released under the MIT License; the depcheck package latest 1.4.7 on npm declares Node 10 or above. It parses the source tree and compares imported modules against the dependencies and devDependencies listed in package.json, reporting packages that are declared but never required or imported, and packages that the code uses but are missing from the manifest. It also flags unused devDependencies and ignores entries that match configured patterns. The CLI runs locally or in CI to keep package.json aligned with actual imports, catching stale dependencies before they bloat installs. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Dependency Cruiser
Rule-driven dependency analysis for JavaScript, TypeScript and CoffeeScript that maps module imports, validates them against project rules, flags circular or forbidden dependencies and outputs graphs, reports and summary metrics.
Knip
Tool that finds unused dependencies, exports, files and dependencies in TypeScript and JavaScript projects, reporting dead code, missing package entries and unused exports so teams can trim bundles and remove stale packages.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
