Skip to content
Fallow home
All docs pages

Fallow documentation

Codebase intelligence for TypeScript and JavaScript. Fallow reports health, complexity, duplication, architecture drift, styling drift, and unused code from one graph of your repository.

Fallow is codebase intelligence for TypeScript and JavaScript. One command reads your whole repository as one graph and shows:

  • where the code is hard to change (complexity hotspots and a health score)
  • where the architecture drifts (boundary rules and circular dependencies)
  • what is copied (duplication)
  • where the UI drifts from your design system (styling drift)
  • what nothing uses (unused files, exports, and dependencies)
  • where the feature flags are

To learn which code executed in production, add the optional runtime layer.

Start here

  1. Run fallow without installing

    npx fallow

    The first run needs no config.

  2. Read the results

    One pass reports health, duplication, and unused code. For styling drift, run fallow audit or fallow health --css.

  3. Go deeper

    npx fallow dead-code
    npx fallow dupes
    npx fallow health
    npx fallow fix --dry-run

What fallow helps you do

Pick your workflow

Understand the two layers

Static analysis tells you which code is connected to which. Production data from Fallow Cloud tells you which code actually ran. fallow health shows both.

Static analysis vs production data

Learn how the two layers differ before you set up runtime collection.

See also