Skip to content

antfu/node-modules-inspector

Repository files navigation

Node Modules Inspector

npm version npm downloads bundle JSDocs License

Interactive UI for local node modules inspection.

Quick Start

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.

Online Version

You can also try an online version at node-modules.dev, powered by WebContainer.

Configuration

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

Screenshots may not reflect the current state

Image Image Image

Credits

Sponsors

License

MIT License © Anthony Fu