Fallow analyzes JS and TS repositories for health, complexity, duplication, architecture drift, unused code, and PR gate failures from one Rust-powered graph.
Overview
Fallow targets TypeScript and JavaScript codebases with a single Rust binary that builds a module graph covering exports, dependencies, functions, and styling tokens. From that graph it reports complexity hotspots, circular dependencies, boundary violations, duplicate blocks, dead code, and styling drift.
Commands cover pull-request audit gating, architecture presets such as layered or feature-sliced rules, mutation testing, optional security reachability scans, and similarity detection using a local model when enabled. An HTML visualization command maps the codebase interactively.
The same engine powers terminal use, GitHub Actions, a VS Code extension, LSP integration, and agent-oriented installs. Outputs aim to be deterministic, with stable fingerprints and audits that fail only on newly introduced findings.
Workspaces for npm, yarn, and pnpm monorepos are recognized, and type-aware analysis can reduce false positives on TypeScript symbols.
Key features
- Repository-wide dependency graph
- PR change-only audit gate
- Architecture boundary presets
- Duplication detection
- Dead code and fix commands
- Design-system CSS drift checks
- GitHub Action integration
- VS Code and LSP surfaces
Use cases
- Blocking risky PR merges
- Finding refactor hotspots
- Enforcing module boundaries
- Removing unused exports