How Thinpack.js Packs tsc into 9 MiB Instead of 110 MiB

thinpack.dev2 min read

Thinpack.js is a single-executable JavaScript packager that treats the runtime as a tree-shakeable Rust workspace rather than an immutable monolithic blob. By using Rust's oxc parser for static analysis and capability closure, it trims unused Node built-ins across 43 granular crates. This technique reduces binary sizes to between 5.80 and 12.42 MiB compared to over 100 MiB for Bun and Node SEA. Open article →

More on this topic