KilnVM Live Labs /lab/fallow-ts-dead-code
Step 1 of 3 Docs Claim This Sandbox
Unclaimed Preview Sandbox · Hosted by KilnVM (15-run evaluation cap). Maintain this tool? Claim & embed on your docs →

Detect and Prune Unused TypeScript Exports with Fallow

Scan a TypeScript project offline with Fallow to find unreachable exports, remove dead code safely, and export a JSON complexity health report.

Step 1 of 3

Scan workspace for unused TypeScript exports

src/math.ts exports calcTax (imported by src/index.ts) and an unused deadLegacyDiscount helper. Run fallow dead-code --format json and write dead.json:

bash
(fallow dead-code --format json > dead.json || true) && grep -m 3 'deadLegacyDiscount' dead.json

Click Check Step to continue.