Tools/vercel-labs/scriptc

scriptc

TypeScript-to-Native Compiler

6.5k ★+55/wkemergingTypeScriptApache License 2.0 →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

scriptc compiles TypeScript and JavaScript into native executables and WebAssembly, with no JavaScript engine in the binary for statically typed code. It type-checks with the real TypeScript compiler, then generates machine code through LLVM. It's a Vercel Labs experiment under Apache 2.0.

Install with npm (Node 24+) or grab a standalone release; the compiler itself now runs natively on macOS, Linux and Windows. Building executables needs your platform's linker and SDK, like Xcode's command line tools on a Mac, plus zig for cross-compiling. Targets include macOS, Linux (glibc and musl), Windows, WASI, and iOS and Android static libraries. For npm dependencies and loosely typed code, a --dynamic flag embeds the QuickJS engine.

Free, no paid tier. Developers who want small, fast-starting CLIs from TypeScript should try it; it competes with Bun and Deno's compile commands and Node's single-executable apps, which ship a whole runtime inside the binary. Teams shouldn't bet production on it yet.

The catch: it's labeled experimental and supports only a subset of JavaScript, TypeScript and Node APIs, and it's moving fast, with v0.2.0 in September 2026 removing the old C backend entirely. Expect code that compiles today to need changes tomorrow.

Free vs Self-Hosted vs Paid

fully free

Free: Everything. Apache-2.0, npm package scriptc or standalone archives.

Self-hosted: A local compiler. Node.js 24+ for the npm install; a platform linker and SDK for executables (Xcode Command Line Tools on macOS); zig for Linux, Windows and WASI cross-linking. IR, LLVM IR, assembly and object output use bundled tools.

Paid: None. No hosted service or commercial edition.

Completely free under Apache 2.0. The cost is working within an experimental subset of TypeScript.

What to do by team size

Solo
free; great for small CLIs
Small team
free for internal tools
Medium team
Experimental; keep a Node or Bun build as fallback
Large team
Wait for 1.0
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
80/100 · A
Adoption21/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (333 public repos)Notable author: 8,148 followers

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Vercel Labs (Organization)
Stars
6,482
Forks
207

Explore Further

More tools in the directory