vercel-labs/scriptc
TypeScript-to-Native Compiler observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 99
- Release rhythm 99
- Longevity 3
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 42
- days_rel: 11
- days_push: 7
- n_releases_24m: 34
Adoption not part of the score
4613 stars · 110 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
scriptc is a TypeScript-to-native compiler that compiles ordinary TypeScript and JavaScript into small, fast, self-contained native executables, typed IR, C, LLVM IR, or WebAssembly (WASI) modules, with no Node or JavaScript engine in the binary. It uses the real TypeScript compiler for type checking, reports which constructs compile statically versus dynamically (opt-in embedded quickjs-ng), and rejects unsupported code with explicit diagnostics.
Use cases
- compile typescript to a native binary
- build standalone executables from typescript without node
- emit c or llvm ir from typescript source
- compile typescript to webassembly with wasi
- make small fast cli tools in typescript
- check how much of my typescript can compile statically
- ship a typescript app without bundling node or v8
When to choose
- you want small (~320KB), fast-starting native binaries from ordinary TypeScript with no code changes
- you need source-level artifacts like C or LLVM IR from TypeScript
- you want explicit diagnostics instead of silently dynamic behavior, with an opt-in embedded JS engine for npm dependencies
- you target macOS, Linux, Windows, or WASI Preview 1
When to avoid
- you need full Node.js or npm ecosystem compatibility, including dynamic require and any-typed code without an embedded engine
- you rely on exact Node runtime semantics such as sparse arrays returning undefined
- you need a battle-tested production compiler — the project is explicitly experimental
- you only want to run TypeScript scripts inside Node rather than produce native binaries
Facets
cli-tool · maturity experimental
compiler build-tool cli wasm developer-tools compilers programming-languages developer-tools windows cli wasm cross-platform typescript native-executables llvm wasi aot-compilation quickjs clang static-compilation command-line macos linux nodejs
5 sources
- readme: https://github.com/vercel-labs/scriptc · fetched 2026-08-28 · 35898023b3c7
- homepage: https://scriptc.dev · fetched 2026-08-29 · 3aec54eb8031
- site_page: https://scriptc.dev/quickstart · fetched 2026-08-29 · 7850059f7474
- registry_npm: https://registry.npmjs.org/scriptc · fetched 2026-08-29 · 95c3d3343778
- site_page: https://scriptc.dev/introduction · fetched 2026-08-29 · a0c14e2b21f0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vercel-labs/scriptc | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="vercel-labs/scriptc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem