scriptc is a TypeScript-to-native compiler that turns ordinary TypeScript programs into small, self-contained executables. Its default output contains no Node.js runtime, V8 engine, or JavaScript interpreter. The compiler uses the real TypeScript checker, lowers supported code into a typed intermediate representation, and generates native code through LLVM or C. A coverage command explains which statements compile statically and identifies unsupported constructs with precise diagnostics. Optional dynamic mode embeds QuickJS for npm dependencies and loosely typed code while validating values that cross into static code. The supported surface includes major language features, standard collections, many Node APIs, networking, TLS, fetch, streams, and asynchronous programming. Differential tests compare native output with Node.js, while sanitizer testing checks memory safety and documented divergences.

Features

  • Native TypeScript executable generation
  • Zero-runtime static compilation by default
  • Static coverage and blocker diagnostics
  • Optional QuickJS dynamic fallback
  • Broad Node and web API support
  • Differential and memory-safety testing

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow scriptc

scriptc Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of scriptc!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

TypeScript

Related Categories

TypeScript Compilers

Registered

6 days ago