Show HN: Rev-dep – 20x faster knip.dev alternative build in Go
created: Feb. 26, 2026, 6:47 p.m. | updated: Feb. 26, 2026, 11:19 p.m.
Capabilities • Installation • Exploratory Toolkit • CLI ReferenceDependency analysis and optimization toolkit for modern JavaScript and TypeScript codebases.
Performs plain-text lookup filesWithBinaries (optional): File patterns to search for binary usage.
How to reduce unnecessary imports for an entry pointList all files imported: rev-dep files --entry-point path/to/entry.ts Identify suspicious files.
node, imports, default) -c, --cwd string Working directory for the command (default "$PWD") --follow-monorepo-packages strings Enable resolution of imports from monorepo workspace packages.
rev-dep files [flags]Examplesrev-dep files --entry-point src/index.tsOptions--condition-names strings List of conditions for package.json imports resolution (e.g.
5 hours, 9 minutes ago: Hacker News