Re

Rev-dep – JavaScript/TS circular deps detection, 175x faster than Madge

Hacker News

Rev-dep – JavaScript/TS circular deps detection, 175x faster than Madge

Rev-dep is a dependency analysis and optimization CLI for JavaScript and TypeScript projects. It helps answer questions like: where is this file used, what are the entry points, are there circular dependencies, and which files or node_modules are unused. I recently rewrote it from scratch in Go to focus on performance and low memory usage. On large codebases (500k+ LOC), circular dependency detection runs in a few hundred milliseconds and is up to 175x faster than Madge in my benchmarks. Feature-wise it overlaps partially with tools like madge, dpdm, skott, and dependency-cruiser, but aims to provide fast, list-based, actionable output rather than graphs. Feedback and performance comparisons on other large codebases are very welcome.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
65%65% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
65%65% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
37%37% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Pr
Promises in JavaScript41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Promises in JavaScript

Hacker News1
Ja
Javascript Keylogger54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Javascript Keylogger

Hacker News1
Iv
Ivy - Bound JavaScript54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ivy - Bound JavaScript

Hacker News1
a
a refreshing JavaScript datepicker54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

a refreshing JavaScript datepicker

Hacker News2
Ja
Javascript constructor overloading54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Javascript constructor overloading

Hacker News2
Se
Sets in JavaScript36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sets in JavaScript

Hacker News2
A
A Drip of JavaScript52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Drip of JavaScript

Hacker News31
I
I converted libmp3lame to JavaScript59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I converted libmp3lame to JavaScript

Hacker News3
Po
Pokemon in Javascript [WIP]37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pokemon in Javascript [WIP]

Hacker News4
Op
OpenSCAD converted to Javascript with Emscripten59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenSCAD converted to Javascript with Emscripten

Hacker News10