Skip to main content
Strips comments, removes blank lines, and shortens local identifiers to produce token-efficient source code that remains syntactically valid and semantically identical (all tests still pass). Supports Go, Python, TypeScript, JavaScript, and Rust. For a single file, compacted output is written to stdout. For a directory, files are written to --output (default: ./compacted/). Aliases: pack, minify

Synopsis

Flags

Examples