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.
Dependency Cruiser at dependency-cruiser.js.org is a free MIT rule-driven JS TS CoffeeScript dependency analyzer, npm 18.8.0 Node 22/24/26+, parses imports and require calls, builds a dependency graph, declarative rules allow or forbid relationships such as circular deps and layered violations, outputs text HTML SVG and JSON reports for CI, metrics on dependencies and cycles, runs locally or in CI to keep module boundaries consistent, 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 Dependency Cruiser free?
Dependency Cruiser: 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). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Dependency Cruiser free?
The code is free to self-host, but a hosted plan from the vendor may not be. Dependency Cruiser publishes its source, so cost depends on where you run it.
How much does Dependency Cruiser cost?
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). 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 Dependency Cruiser's current pricing?
On Dependency Cruiser'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 Dependency Cruiser?
The parser collects imports and require calls into a graph, rules declare allowed and forbidden module relationships, the analyzer flags cycles and boundary violations, and reports render the graph and metrics for developers and CI checks.
How does pricing work?
The CLI and rules engine install free under MIT with no seat license; integrations and reporting follow their own terms, and any commercial support would be outside the open-source project.
How does Dependency Cruiser compare with other tools in Dev Workflow & Productivity?
Dependency Cruiser 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 |
|---|---|---|---|
| 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 |
| Madge | Open source | Madge is free open-source software released under the MIT License; the madge package latest 8.0.0 on npm requires Node 18 or above. It scans source files, follows ES module and CommonJS imports, and builds a tree of how modules depend on one another. It reports circular dependencies, lists modules that are never imported, and can render the graph as an SVG or image, a JSON structure, or an interactive web page for exploration. The CLI integrates into CI to fail a build when new cycles appear, and the visual output helps teams understand module coupling before refactoring. No paid commercial edition or per-seat license is sold by the 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
Dependency Cruiser'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: 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).
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
Madge
Module dependency graph tool that traces imports in JavaScript and TypeScript projects, generates circular dependency lists and visualizes the module tree as an image, JSON or interactive web view to spot tangled or orphaned modules.
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 Websitedependency-cruiser.js.org
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
