Skip to content
Agents tracked: 442 Downloads (7d): 202M down 19.3% GitHub stars: 10.4M Releases (7d): 693 Agent status: 1 with issuesSince last limit reset: Claude 28d · Codex 1d Updated Oct 21, 2026

Madge

Analyze and visualize module dependency graphs in your codebase.

Dev workflow and config npm MIT

Used in agent projects
16
0.3% of 4,821 JS/TS repos built with AI coding agents; 24 counting our dependency samples
Gid Score
52 /100
#1311 of 3,794 tools, #98 in dev workflow and config · ranking
Rank in dev workflow and config
#78 of 259
by use in those projects
Downloads
1.6M
npm, last 7 days, madge
GitHub stars
10.2K
350 forks · last push Jan 21, 2026

How Madge is used

Madge is a dependency in 16 of the 6,211 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,980); counting those, it appears in 24 projects, and what it is used with below comes from all of them. Projects that use it most often also use Testing Library (45.8%), Knip (41.7%), TypeScript (95.8%).

Madge popularity over time

Top tools by Gid Score

Madge: downloads per weeknpm, madge 1,586,353
Madge: GitHub starspahen/madge 10,175

Gid Score 52: downloads 68, use in agent projects 30, GitHub stars 50, downloads trend 55 (each 0-100). How it is calculated.

Often used with Madge

Testing Library45.8% of Madge projects · 4.5× more than average
Knip41.7% of Madge projects · 18.1× more than average
TypeScript95.8% of Madge projects · 1.7× more than average
dotenv50.0% of Madge projects · 3.2× more than average
ESLint75.0% of Madge projects · 2.1× more than average
Model Context Protocol SDK (JavaScript)37.5% of Madge projects · 4.0× more than average
Playwright (JavaScript)50.0% of Madge projects · 2.9× more than average
Husky37.5% of Madge projects · 3.7× more than average

From all 24 projects in our scan that use Madge, including the dependency samples.

By coding agent

Claude Code0.3% of projects set up for it
Cursor0.4% of projects set up for it
GitHub Copilot0.2% of projects set up for it

Share of public repos configured for each agent that list Madge as a dependency.

How Madge is funded

Most funded tools

Ways to fund Madge

PayPal

As the maintainers list them in the npm package. Checked Oct 20, 2026.

Install

Packagenpm install madge
Main stacksTypeScript / JavaScript (13), Next.js (8), React Native / Expo (1), Rust (1)
Example projectsag-grid/ag-charts, kovrichard/catalyst, bartstc/vite-ts-react-template, Synerise/synerise-design, BabylonSocial/babylon

Alternatives to Madge

All dev workflow and config

In our scan, none of the most used tools in Dev workflow and config does the same job as Madge: they are add-ons, companions or tools for a different task.

More in Dev workflow and config: dotenv Husky python-dotenv concurrently lint-staged Rich Pydantic Settings cross-env

Is Madge right for your project? Ask AgentGid →