← The log

vercel-labs/scriptc

★ 6,244 stars

TypeScript

Covered in week 2026-W34 · the 2026-08 report

TypeScript-to-Native Compiler

What scriptc is

scriptc compiles TypeScript and JavaScript to native executables and WebAssembly. It uses TypeScript's type information to compile supported code to native instructions. Static builds run without Node.js or a JavaScript engine.

From the repository README · read it on GitHub →

19 Aug 2026 · 0:42
scriptc: TypeScript → 1 Native Executable (No Node.js Runtime)
Watch on YouTube →

Transcript

scriptc compiles TypeScript directly into standalone native executables for macOS, Linux, and Windows by emitting LLVM IR or C code that clang transforms into machine code, bypassing the Node.js runtime entirely while preserving familiar APIs like http servers. This architecture supports filesystem access, child processes, and network sockets without requiring a JavaScript runtime installation. The compiler currently flags dynamic code patterns as diagnostic warnings rather than blocking compilation. You can deploy TypeScript applications as single binary executables that run on servers without installing Node.

View on GitHub