Scriptc
What is Scriptc?
scriptc is a TypeScript-to-native compiler that transforms ordinary TypeScript code into small, fast, self-contained executables. It eliminates the need for Node.js, V8, or any embedded JavaScript engine for statically compiled code, resulting in significantly faster startup times and smaller binary sizes.
scriptc is an innovative compiler from Vercel Labs designed to bridge the gap between high-level TypeScript development and low-level native performance. By analyzing TypeScript code and lowering it to C and machine code, it allows developers to ship self-contained binaries that bypass the overhead of the Node.js runtime. This approach is particularly effective for CLI tools and server-side scripts, offering startup times as low as 2.4ms and binary sizes under 200KB, compared to the massive footprint of traditional Node.js Single Executable Applications.
The compiler employs a unique three-tier architecture: static compilation for high-performance native code, a dynamic tier using an embedded QuickJS-ng engine for complex dependencies or 'any'-typed code, and a strict rejection tier for unsupported constructs. While it provides a seamless experience for well-typed TypeScript, it includes a 'coverage' tool to help developers identify which parts of their codebase require the dynamic fallback. This makes it a powerful tool for performance-critical applications, though it is currently best suited for projects with minimal reliance on dynamic JavaScript patterns.
Scriptc is built by Vercel and fits into the AI Coding category. It was released on Jul 27, 2026.
Scriptc is free to use and open source, with the source code on GitHub. Teams typically use it for refactoring, code review, test generation and legacy migration, with domain-specific use in Fintech, E-commerce and Embedded / IoT.
Who Scriptc is for
Teams and individual developers working in AI Coding.