Vercel Labs released scriptc, an open source compiler that translates TypeScript directly into native executables without embedding Node.js, V8 or any JavaScript engine, according to the project's GitHub repository.

The compiler pipeline runs TypeScript through the standard tsc type checker, converts it to a typed intermediate representation, emits C code and compiles to a native binary via LLVM. A dynamic mode embeds a 620 KB QuickJS engine for npm packages that cannot be statically compiled. Code that fits neither path is rejected with diagnostic errors rather than silently miscompiled.

The project reports that a compiled CLI starts in roughly 2.4 milliseconds from a binary of 170 to 200 KB, compared to about 47 milliseconds and 60 to 100 MB for a Node.js single-executable app. Runtime memory sits at 1 to 4 MB versus Node's typical 67 to 116 MB.

The repository has gained more than 3,000 GitHub stars since its July release. For developers shipping CLI tools or edge workers, native compilation removes the runtime overhead that makes TypeScript impractical in size-constrained or latency-sensitive environments.