Visualize your node_modules and inspect duplicate packages and install sizes
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers can now see exactly which packages bloat node_modules and which are duplicated, with scriptable CLI reports and MCP tools for AI agents.
Node Modules Inspector is a free open-source tool that shows what is inside your project's node_modules folder, the directory where installed code libraries pile up. It renders an interactive web view of your dependencies, their install sizes, and any packages installed in multiple versions. You can run it without installing anything via npx, or try it in the browser at node-modules.dev. It suits developers maintaining projects with many dependencies.
This free, open-source tool from the Anthony Fu ecosystem gives teams visibility into dependency bloat and duplicate packages across pnpm, npm and bun projects. Beyond the web UI, its CLI reports (duplicates, sizes, maintainers) output JSON for automation, and a static build can be hosted for sharing audits, everything.antfu.dev is the example. Teams using AI coding agents gain the most via the bundled MCP server. No pricing applies.
Node Modules Inspector visualizes node_modules for pnpm, npm and bun, with other package managers invited. It ships report duplicates, report sizes and report maintainers CLI commands, each supporting --json with progress logs on stderr for clean piping into jq. The three reports are also exposed as MCP tools over stdio (nmi:report-duplicates, nmi:report-sizes, nmi:report-maintainers) with schemas auto-derived from valibot definitions. An opt-in node-modules-inspector.config.ts enables filters and an experimental publint.dev integration.
Questions this answers
The article above answers these:
- how do I see what's taking up space in node_modules?
- how do I find duplicate package versions in npm?
- can I expose dependency reports to an AI coding agent via MCP?
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Node Modules Inspector node_modules pnpm npm bun MCP publint
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.