Show HN: Thinpack.js – Pack tsc into a 9 MiB binary with QuickJS (vs 110M Bun)
Category: devtools
Tags: nodejs, bundler, quickjs, static-analysis, single-executable, typescript
Score: 7.8/10 (Innovation: 8, Technical: 9, Documentation: 7, Utility: 7)
Thinpack.js is a Rust-based packager that compiles Node.js/TypeScript programs into small standalone executables by treating the JavaScript runtime as a tree-shakeable Rust workspace. It uses Oxc static analysis to compute a capability closure of only the Node built-ins and globals actually used, then embeds a stripped QuickJS/V8 runtime with Brotli-compressed modules—shrinking a packed tsc from 110 MiB under Bun to ~9 MiB.
Target audience: backend devs, CLI tool authors, devops engineers deploying Node.js applications
Repository: https://thinpack.dev/how-it-works · JavaScript · MIT · 7 stars
View on Hacker News