# dependency-cruiser — card for AI agents

Validate and visualize code dependencies with custom rules for JavaScript/TypeScript.

Category: Linting and formatting · npm package `dependency-cruiser` · latest version 18.7.0 (checked 2026-11-01)
Install: `npm install dependency-cruiser`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 65.1 (#670 of all tools, 15 of 83 in its category)
- Used in 27 public projects set up for AI coding agents (0.4%)
- Downloads last week: 9,908,795 (as of 2026-11-24), +70.3% over 4 weeks
- GitHub stars: 7,459 (as of 2026-11-24)
- Last push: 2026-11-22

## Often used with
Vitest 81.5%, Playwright (JavaScript) 66.7%, jsdom 48.1%, Knip 48.1%, TypeScript 100.0%, Testing Library 40.7%

## Checked alternatives (same job)
- Knip: https://agentgid.com/tools/knip/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/dependency-cruiser/
- Homepage: https://github.com/sverweij/dependency-cruiser
- Repository: https://github.com/sverweij/dependency-cruiser

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
