# node-modules-inspector **Repository Path**: doraemonhc/node-modules-inspector ## Basic Information - **Project Name**: node-modules-inspector - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-15 - **Last Updated**: 2025-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README  # Node Modules Inspector [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![JSDocs][jsdocs-src]][jsdocs-href] [![License][license-src]][license-href] Visualize your node_modules, inspect dependencies, and more. ### Quick Start Try it by running following command under your `pnpm`/`npm` project. ```bash pnpx node-modules-inspector ``` ```bash npx node-modules-inspector ``` > Currently only support `pnpm` and `npm` projects. We are counting on the community to bring support for other package managers. ### Online Version You can also try an online version at [**node-modules.dev**](https://node-modules.dev/), powered by [WebContainer](https://webcontainers.io/). ## Configuration You can create a `node-modules-inspector.config.ts` file in your project root to configure the inspector's default behaviour. ```js import { defineConfig } from 'node-modules-inspector' export default defineConfig({ defaultFilters: { excludes: [ 'eslint', ], }, defaultSettings: { moduleTypeSimple: true, }, // Experimental publint.dev integration, default is false publint: true // ...see jsdoc for more options and details }) ``` ## Static Build You can also build a static SPA of your current node_modules status: ```bash pnpx node-modules-inspector build ``` ```bash npx node-modules-inspector build ``` Then you can host the `.node-modules-inspector` folder with any static file server. You can see a build for all Anthony Fu's packages at [everything.antfu.dev](https://everything.antfu.dev). ## Screenshots    ## Credits - This project is heavily inspired by [npmgraph](https://npmgraph.js.org/) - Thanks to [@wooorm](https://github.com/wooorm) for the module type detection algorithm in [wooorm/npm-esm-vs-cjs](https://github.com/wooorm/npm-esm-vs-cjs) - The logo is derivated from the `black-hole-line-duotone` icon (yeah it's a black hole!) from the [Solar Icon Sets](https://www.figma.com/community/file/1166831539721848736/solar-icons-set) by [480 Design](https://www.figma.com/@480design) and [R4IN80W](https://www.figma.com/@voidrainbow) under the [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. - Thanks to [@privatenumber](https://github.com/privatenumber) for [pkg-size.dev](https://pkg-size.dev/) for running analysis with installations in WebContainer. ## Sponsors
## License [MIT](./LICENSE) License © [Anthony Fu](https://github.com/antfu) [npm-version-src]: https://img.shields.io/npm/v/node-modules-inspector?style=flat&colorA=080f12&colorB=1fa669 [npm-version-href]: https://npmjs.com/package/node-modules-inspector [npm-downloads-src]: https://img.shields.io/npm/dm/node-modules-inspector?style=flat&colorA=080f12&colorB=1fa669 [npm-downloads-href]: https://npmjs.com/package/node-modules-inspector [bundle-src]: https://img.shields.io/bundlephobia/minzip/node-modules-inspector?style=flat&colorA=080f12&colorB=1fa669&label=minzip [bundle-href]: https://bundlephobia.com/result?p=node-modules-inspector [license-src]: https://img.shields.io/github/license/antfu/node-modules-inspector.svg?style=flat&colorA=080f12&colorB=1fa669 [license-href]: https://github.com/antfu/node-modules-inspector/blob/main/LICENSE [jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669 [jsdocs-href]: https://www.jsdocs.io/package/node-modules-inspector