Interactive UI for local node modules inspection.
Try it by running following command under your pnpm
project.
pnpx node-modules-inspector
Currently only support
pnpm
projects. We are counting on the community to bring support for other package managers.
You can also try an online version at node-modules.dev, powered by WebContainer.
You can create a node-modules-inspector.config.ts
file in your project root to configure the inspector's default behaviour.
import { defineConfig } from 'node-modules-inspector'
export default defineConfig({
defaultFilters: {
excludes: [
'eslint',
],
},
defaultSettings: {
moduleTypeSimple: true,
}
})
Screenshots may not reflect the current state
- This project is heavily inspired by npmgraph
- Thanks to @wooorm for the module type detection algorithm in 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 by 480 Design and R4IN80W under the CC-BY 4.0 license. - Thanks to @privatenumber for pkg-size.dev for running analysis with installations in WebConainter.
MIT License © Anthony Fu