The best Madge alternatives
6 tools that do a similar job to Madge, 6 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.
- 1

Webpack Bundle Analyzer
Open source · MIT · ★ 12.7k
Webpack plugin and CLI that shows your bundle's contents as an interactive zoomable treemap.
Best for: Frontend developers trying to shrink a slow-loading webpack bundle; Teams checking whether an unexpected library ended up in their bundle
- 2

webpack
Open source · MIT · ★ 66k
A JavaScript module bundler that packs many files into a few optimized assets for the browser.
Best for: Frontend developers building single-page or multi-page web apps; Teams that need code splitting to reduce initial page load time
- 3

Parcel
Open source · MIT · ★ 44k
A zero-config web build tool that bundles JavaScript, CSS, HTML and other assets.
Best for: Web developers who want a bundler that works without a config file; Small to medium front-end projects that need to get running quickly
- 4

Prettier
Open source · MIT · ★ 52.4k
An opinionated code formatter that rewrites your code in one consistent style.
Best for: Teams that want one shared code style without writing their own rules; Developers who want formatting handled automatically on save
- 5

Stylus
Open source · MIT · ★ 11.3k
A CSS preprocessor for Node.js that lets you write styles in a shorter, more flexible syntax.
Best for: Node.js developers who already build front-end projects and want a CSS preprocessor; Front-end developers who prefer a terse, indentation-based style syntax
- 6

patch-package
Open source · MIT · ★ 11.2k
Lets you fix npm dependencies in place and keep those fixes in version control.
Best for: Teams running a Node.js app who need a quick fix to a dependency before the upstream project publishes one; Developers on npm 5 or later, or yarn v1, who want patches applied on every install
How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to Madge. We don't take payment for placement.