What problem does it solve?
Static analysis tools like knip and depcheck over-report unused packages in monorepos with mega-manifests, config-string references, and ambient types, making it risky to know whether an npm dependency is truly dead and safe to remove.
Core Features & Use Cases
- Grep-based usage detection: Search the entire repo for imports, requires, dynamic imports, and bare references to a candidate package.
- No-import usage checks: Rule out config string references in webpack, Vite, ESLint, Jest, and Babel configs, plus package.json scripts and runtime preloads.
- Leaf verification and classification: Use npm ls to confirm nothing depends on the package, then classify it as deletable, relocatable, ambient, or a false positive.
- Build gate validation: Uninstall the package, reinstall, and run type-check, tests, and build to prove removal is safe before committing.
- Use Case: After a webpack-to-Vite migration, sweep leftover build tooling by enumerating all declared dependencies, filtering zero-hit candidates, and confirming each removal with the build gate.
Quick Start
Check whether the npm package jsonpath is still used anywhere in this repo and safely remove it if it is dead.