pahen/madge
Create graphs from your CommonJS, AMD or ES6 module dependencies observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 63
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5218
- days_rel: n/a
- days_push: 224
- n_releases_24m: 0
Adoption not part of the score
10162 stars · 351 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Madge is a JavaScript developer tool that generates visual dependency graphs from CommonJS, AMD, and ES6 modules, as well as Sass, Stylus, and Less files. It also detects circular dependencies and provides a programmatic API for extracting dependency trees.
Use cases
- generate a dependency graph for my JavaScript project
- find circular dependencies in my codebase
- visualize module dependencies as SVG or DOT
- analyze dependencies in Sass or Less files
- check which modules depend on each other before refactoring
- get a dependency tree as JSON for tooling
When to choose
- you need to visualize or audit module dependencies in a JavaScript or CSS-preprocessor codebase
- you want to detect and eliminate circular dependencies
- you want a CLI tool plus a programmatic API for dependency analysis
When to avoid
- you need dependency analysis for non-JavaScript languages like Python, Java, or Go
- you need runtime dependency tracking rather than static analysis
- you require bundler-integrated dependency management rather than a standalone analysis tool
Facets
cli-tool · maturity active
developer-tools cli data-visualization parser developer-tools web-development cli cross-platform dependency-graph circular-dependencies graphviz es6-modules commonjs amd css-preprocessors static-analysis javascript command-line nodejs
2 sources
- readme: https://github.com/pahen/madge · fetched 2026-08-28 · 1bba1ccfab29
- registry_npm: https://registry.npmjs.org/madge · fetched 2026-08-29 · d538aff82352
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pahen/madge | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem