fallow-rs

fallow-rs / fallow

Public

Find unused code, code duplication, circular dependencies, and complexity hotspots in TypeScript/JavaScript projects

19
0
100% credibility
Found Mar 27, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

Fallow is a fast tool that detects unused code, duplicates, circular dependencies, and complexity hotspots in JavaScript and TypeScript projects.

How It Works

1
🔍 Discover Fallow

You hear about Fallow, a friendly helper that uncovers unused bits, repeated code, and tricky spots in your JavaScript project.

2
Try it instantly

Open your project folder and run a simple command—no setup needed—and it scans everything in seconds.

3
💡 See the magic

Get a clear list of junk files to delete, copy-pasted sections to simplify, and complex areas needing a refresh.

4
🛠️ Clean up easily

Preview safe changes like removing extras, then apply them with one go, or tweak checks to focus on what matters.

5
🔄 Add to your routine

Hook it into your daily checks, team reviews, or editor so it watches for issues as you work.

🏆 Enjoy a lean project

Your code feels lighter, changes are safer, and everything runs smoother with no hidden messes.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is fallow?

Fallow scans TypeScript and JavaScript projects to find unused code like dead files, exports, dependencies, and even enum members, plus code duplication, circular dependencies, and complexity hotspots. Run `npx fallow` for zero-config analysis that's Rust-native and sub-second fast on large codebases—no Node.js needed. It helps trim bloat, like finding unused CSS or classes in IntelliJ, but across entire projects with one command.

Why is it gaining traction?

It crushes alternatives like knip (34x faster on Zod) and jscpd (26x on Fastify) via suffix-array duplication detection and syntactic analysis, with 84 framework plugins for Next.js, Vite, SvelteKit, and more. CI-ready with SARIF for GitHub Code Scanning, baselines to catch only new issues, and `fallow fix` for auto-removing safe dead exports/deps. Watch mode and LSP integration make it a daily driver.

Who should use this?

TS/JS maintainers of mid-to-large repos fighting tech debt—think monorepo leads spotting circular deps in Turborepo, frontend teams hunting unused deps post-refactors, or backend devs prioritizing complex functions in NestJS. Ideal for PR gates with `--changed-since main` to flag regressions without full scans.

Verdict

Grab it if you're serious about JS/TS hygiene—perf and polish punch above its 19 stars and 1.0% credibility score. Early but battle-tested benchmarks and docs make it worth piloting over slower Node tools; just expect occasional edge-case tweaks as adoption grows.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.