Skip to content
JS
Package

madge

Create graphs from module dependencies.

v8.0.0, 5 Aug 2024MITCommonJSTypes: None
$ npm install madge

Key numbers

As of 25 Sept 2026
Weekly downloads
2m
+91% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
12
Direct, from package.json
Last release
2 years ago
v8.0.0
GitHub stars
10.2k
351 forks
Open issues / PRs
118 / 9
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.1m (28 Jul 2026)Low 532.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,962,724 downloads last week, 10,406,861 in the last month. The 12-month change of +91% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
077 in total
Latest version
8.0.0, 5 Aug 20242 years ago
First published
20 May 2012
Last push to GitHub
21 Jan 2026246 days before the snapshot
Repository archived
No
Open issues
118
Open pull requests
9
Commits, last 52 weeks
0
Dependents on npm
266

Major versions

  1. v8 first release 8.0.0, 5 Aug 2024
  2. v7 first release 7.0.0, 8 Apr 2024
  3. v6 first release 6.0.0, 29 Jan 2023
  4. v5 first release 5.0.0, 22 Jun 2021
  5. v4 first release 4.0.0, 5 Jan 2021
  6. v3 first release 3.0.0, 22 Jan 2018
  7. v2 first release 2.0.0, 15 Jul 2017
  8. v1 first release 1.0.0, 19 Aug 2016
  9. v0 first release 0.0.1, 20 May 2012

Recent releases

VersionPublished
8.0.05 Aug 2024
7.0.08 Apr 2024
6.1.04 Jun 2023
6.0.029 Jan 2023
5.0.227 Jan 2023
5.0.123 Jun 2021
5.0.022 Jun 2021
4.0.28 Mar 2021
4.0.15 Mar 2021
4.0.05 Jan 2021
3.12.02 Nov 2020
3.11.01 Oct 2020
3.10.014 Sept 2020
3.9.216 Jun 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
103 kB
Dependencies (12)
rcorachalkdebugwalkdircommandercommondirpluralizepretty-msts-graphvizdependency-treestream-to-array
Peer dependencies (1)
typescript
npm install madge
  • jsDelivrhttps://cdn.jsdelivr.net/npm/madge@8.0.0/
  • unpkghttps://unpkg.com/madge@8.0.0/
  • esm.shhttps://esm.sh/madge@8.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.