tool · dev / cleanup
depcheck.
find unused npm / pip / cargo deps without false positives.
ast-walks your codebase, cross-references against the lockfile, lists deps you actually never import. handles dynamic imports + optional peers correctly.
~/projects/your-app
$ npm i -g rtfm-depcheck
added 1 package in 0.8s
$ depcheck
unused: lodash, moment, jquery (3 deps)
weight saved: 184 kb
install
one line, three platforms.
npm
npm i -g rtfm-depcheck
brew (mac/linux)
brew install voidd0/tap/depcheck
github releases
single static binary for linux / macos / windows. no runtime needed.
github releases →use it
free. mit. no signup.
issues + bug reports welcome on github. response sla under 36h on weekdays.