antfu

node-modules-inspector

Interactive UI for local node modules inspection

by antfu

TypeScript

TypeScript54%
Vue42.8%
JavaScript2.7%
CSS0.3%
MDX0.2%

Commit activity

Last 12 weeks · 31 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 10 in progress · Last activity 2mo ago
See all on GitHub →
lumirelle

Summary Adds and as supported package managers. Both are pnpm-compatible package managers sharing an isolated layout (, ) and the same CLI interface (, , ). Actually, nub vendors the aube engine directly. Notes aube/nub are meta-managers: in compat mode they writes back to the incumbent lockfile (, , …), so those projects keep detecting as npm/pnpm/bun and use the existing agents. Only aube/nub-native projects (with , ) use these new adapters. This PR add the official aube/nub setup actions to the CI workflow This PR add aube/nub as the dev dependencies for testing purpose Closes #174 🤖 Generated with Claude Code, edited & reviewed by Lumirelle.

lumirelle · 5d ago
Koa-wang

Display whether a package has side effects declared in package.json, helping users debug tree-shaking issues at a glance. Closes #100 🔗 Linked issue Closes #100 🧭 Context When debugging bundle size issues, one of the first things you check is whether a package is tree-shakeable. The field in tells bundlers exactly that — but right now there's no way to see this info in the inspector without digging into each package's manually. This PR adds a small visual indicator so you can spot side effects at a glance across your entire dependency tree. 📚 Description Added a component that reads the field from each package's and shows an icon next to the package name: Green tree icon when — safe to tree-shake Amber warning icon when — has side effects Yellow warning icon when — partially tree-shakeable (hover to see how many file patterns are declared) The badge shows up in two places: the package details panel and the grid view. It's gated behind a new "Show side effects badge" toggle in Settings, off by default — didn't want to add visual noise for people who don't need it. The data layer changes are minimal: just a new function in that gets wired into , same pattern as the existing license/funding/author normalizers. The field isn't in the interface so it's read via a type cast. Files touched: — added to — added — wired it into — added setting type — default value () — new component — toggle in settings — badge in details panel — badge in grid items

Koa-wang · 1mo ago
wojtekmaj

Description Adds Yarn Berry support for projects using the linker. detects Yarn Berry separately from Yarn Classic reads Yarn's logical dependency graph and maps locators to physical paths through reports package metadata and install sizes through the existing resolution pipeline supports workspaces, dependency clusters, depth limits, and dependency filters rejects Plug'n'Play up front with instructions for switching to the linker includes unit coverage, an installable Yarn 4 fixture, and user documentation Compatibility Yarn Berry with is supported. Yarn Classic and Yarn Plug'n'Play are not supported by this change. Linked Issues #13 Validation Yarn agent tests real Yarn 4.7 fixture inspection, including physical package paths and install sizes

wojtekmaj · 1mo ago
Structured data for AI agents

Repository: antfu/node-modules-inspector. Description: Interactive UI for local node modules inspection Stars: 2962, Forks: 94. Primary language: TypeScript. Languages: TypeScript (54%), Vue (42.8%), JavaScript (2.7%), CSS (0.3%), MDX (0.2%). License: MIT. Homepage: https://node-modules.dev Topics: devframe, devtools, inspector, node-modules, npm. Latest release: v2.7.0 (2mo ago). Open PRs: 10, open issues: 18. Last activity: 2mo ago. Community health: 85%. Top contributors: antfu, antfubot, OrbisK, sxzz, ilyaliao, userquin, Joery-M, Koa-wang, feidianbo, elio-Wang and others.