One-line Claude command to recursively optimize deps for tsc-ts type stripping

maxleiter · x · 2026-10-18

maxleiter shared a one-liner — claude -p "recursively optimize all dependencies for tsc-ts" — to have Claude recursively optimize dependencies for TS native type stripping. He argues the toolchain is a strong fit for CLIs thanks to the startup-time win, and that results improve as more source is compiled from raw TS rather than npm deps shipping only .d.ts files.

Related event: Claude Recursively Optimizes TypeScript Compiler Dependencies(3 posts)→

Original post →

More from coding & agent

coding & agent channel →