ModelFarebeta
Back to AI Toolkit

dependency-cruiser

Map code dependencies and enforce architectural boundaries.

Tool

Architecture & docs · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

JavaScript and TypeScript projects that need checks for cycles, forbidden imports, and dependency rules.

What to consider

MIT. Resolver settings and declared rules must match the codebase. Static dependency analysis may not capture every runtime or dynamically constructed import.

Getting started

Install the development dependency, initialize rules for your project, and review a small dependency graph before introducing CI failures.

Access & costs

Runs
Local / Self-hosted
External account
Not required
API key
Not required
Costs
Your hardware / hosting

Local analysis needs no external account or API key. Some output formats need additional local rendering tools.

  • Supported Node.js environment
  • Project resolver configuration
  • Dependency rules and optional graph renderer

Repository evidence

Stars: 7,457 · License: MIT

Last code push: 2026-11-22

Statistics retrieved: 2026-11-23T06:39:00+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner