Skip to main content

depcheck vs Rev-dep

depcheck finds unused and missing dependencies. rev-dep does the same with two checks and adds the rest of a dependency-hygiene suite - and depcheck is no longer actively maintained.

At a glance​

depcheckRev-dep
Primary focusunused & missing dependenciesdependency hygiene + architecture
RuntimeNodeGo - single parallel pass (faster)
Unused / missing dependenciesyesyes
Unused exports / orphan filesnoyes
Circular / boundaries / conventionsnoyes
Tooling-only package detectionspecials / parsersbinary/module hints
Maintainedno (recommends moving on)yes
Config.depcheckrcrev-dep.config.jsonc

Where rev-dep is stronger​

Where depcheck may still fit​

depcheck's specials parsers recognize many config ecosystems out of the box. rev-dep handles the same gap with explicit hints (pkgJsonFieldsWithBinaries, filesWithBinaries, filesWithModules) - a little more setup for more precision. See unused node modules.

Which should you choose?​

For anything beyond a quick one-off dependency check, rev-dep - it's maintained, faster, and does much more.

Migrating​

See Migrating from depcheck to translate your .depcheckrc.