# antfu/node-modules-inspector

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/antfu-node-modules-inspector).**

2,720 stars · 72 forks · Vue · mit

## Links

- GitHub: https://github.com/antfu/node-modules-inspector
- Homepage: https://node-modules.dev
- awesome-repositories: https://awesome-repositories.com/repository/antfu-node-modules-inspector.md

## Description

node-modules-inspector is a Node.js dependency visualizer and npm package inspector. It provides a web interface for exploring the structure and contents of the node_modules directory to analyze and audit project dependencies.

The tool functions as a static dependency graph generator, exporting a project's dependency view as a standalone single-page application. This allows the dependency tree to be hosted as static documentation for sharing and reference.

The system scans the filesystem to build a map of installed packages and their physical locations. It includes capabilities for exploring nested hierarchies to resolve version conflicts and identify redundant packages, with support for client-side data filtering and JSON-based configuration.

## Tags

### DevOps & Infrastructure

- [Dependency Visualizers](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/analysis-visualization-tools/dependency-visualizers.md) — Provides a visual interface to analyze and explore the structure and contents of project dependency trees. ([source](https://cdn.jsdelivr.net/gh/antfu/node-modules-inspector@main/README.md))
- [Dependency Tree Documentation](https://awesome-repositories.com/f/devops-infrastructure/static-documentation-hosting/dependency-tree-documentation.md) — Generates a portable web view of a project's dependency tree to serve as a reference for developers.

### Part of an Awesome List

- [Dependency Version Auditing](https://awesome-repositories.com/f/awesome-lists/security/dependency-version-auditing.md) — Allows reviewing the installed package graph to verify that the correct versions of dependencies are being used.

### Development Tools & Productivity

- [Dependency Graph Explorers](https://awesome-repositories.com/f/development-tools-productivity/code-editors-ides/codebase-exploration-utilities/dependency-graph-explorers.md) — Provides an interactive explorer to navigate nested package hierarchies and resolve version conflicts.
- [Installed Package Inspectors](https://awesome-repositories.com/f/development-tools-productivity/installed-package-inspectors.md) — Provides a visual tool for auditing installed npm packages and their relationships within a project.
- [Node.js Dependency Visualizers](https://awesome-repositories.com/f/development-tools-productivity/node-js-dependency-visualizers.md) — Provides a web interface for exploring the structure and contents of the node_modules directory.
- [Filesystem Scanning](https://awesome-repositories.com/f/development-tools-productivity/package-managers/dependency/sbom-generators/filesystem-scanning.md) — Crawls the node_modules directory to catalog installed software packages and their physical locations.
- [Static Application Exports](https://awesome-repositories.com/f/development-tools-productivity/dependency-exporters/static-application-exports.md) — Generates a static single-page application showing the current state of project dependencies for web hosting. ([source](https://cdn.jsdelivr.net/gh/antfu/node-modules-inspector@main/README.md))

### Software Engineering & Architecture

- [Module Dependency Analysis](https://awesome-repositories.com/f/software-engineering-architecture/static-analysis/module-dependency-analysis.md) — Analyzes the module graph within node_modules to identify redundant packages and version conflicts.
- [Static Graph Exports](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/dependency-injection/dependency-graph-construction/static-graph-exports.md) — Exports a project dependency view as a standalone single-page application for hosting and sharing.

### Web Development

- [Static Site Generators](https://awesome-repositories.com/f/web-development/static-site-generators.md) — Transforms the dependency graph into a standalone set of static HTML assets for hosting.
