Skip to content

Latest commit

 

History

History
101 lines (96 loc) · 11.1 KB

File metadata and controls

101 lines (96 loc) · 11.1 KB

Awesome TypeScript Compilers, Transpilers and Runtimes

A curated list of TypeScript compilers, transpilers and runtimes targeting various languages and platforms.

JavaScript Targets

Project Description
tsc Official TypeScript compiler by Microsoft. (playground)
tsgo Go-based TypeScript compiler by Microsoft targeting 10x performance.
swc Rust-based platform for fast TypeScript/JavaScript compilation. (playground)
esbuild Extremely fast TypeScript/JavaScript bundler written in Go. (playground)
vite Next generation frontend tooling with TypeScript support. (playground)
rspack Rust-based Webpack-compatible bundler with TypeScript support. (playground)
Turbopack Rust-based incremental bundler with zero-config TypeScript support in Next.js.
Rsbuild Fast build tool that integrates Rspack, SWC, and Lightning CSS.
Rslib Library development tool built on top of Rsbuild/Rspack.
biome Successor to Rome providing a unified TypeScript toolchain. (playground)
rolldown Fast Rust bundler for JavaScript/TypeScript with Rollup-compatible API. (repl)
tsdown Library bundler powered by Rolldown and Oxc; builds TypeScript and generates declaration files.
farm Extremely fast Vite-compatible web build tool written in Rust.
Mako Rust-based web bundler for apps, libraries, and frameworks. (playground)
oxc Rust-based JavaScript/TypeScript toolchain including parser, linter, and compiler. (playground)
swc4j JVM-facing TypeScript/JavaScript compilation and bundling tool built around SWC.
webpack JavaScript bundler with TypeScript integration.
rollup JavaScript module bundler with TypeScript support. (repl)
parcel Zero configuration web app bundler with TypeScript support. (repl)
tsup TypeScript bundler powered by esbuild.
babel The compiler for next generation JavaScript with TypeScript support. (playground)
sucrase Super-fast alternative to Babel focusing on modern JS runtimes. (playground)
ezno JavaScript compiler and TypeScript checker in Rust focusing on static analysis. (playground)
stc Rust-based static type checker for TypeScript focusing on performance.

Runtimes

Project Description
deno Secure TypeScript runtime & toolkit written in Rust.
bun Fast JavaScript and TypeScript runtime & toolkit written in Zig.
node.js 23.6.0+ Partial support in 23.6.0+
elsa Minimal runtime for JavaScript and TypeScript written in Go.
elide Polyglot runtime and toolchain with native TypeScript, JavaScript, Kotlin, and Python support, built on GraalVM. (playground)
yavascript QuickJS-based scripting runtime with built-in TypeScript transpilation, designed as a bash replacement.
txiki.js Tiny JavaScript runtime built on QuickJS-ng and libuv, with TypeScript type definitions via @txikijs/types.
LLRT Low Latency Runtime for AWS Lambda by AWS Labs; runs TypeScript when bundled/transpiled ahead of time.
DeviceScript TypeScript for tiny IoT devices (ESP32, RP2040, ...) — Microsoft project that compiles a subset of TS to a custom VM bytecode (archived).
Andromeda JavaScript & TypeScript runtime in Rust built on the Nova engine, with zero-config TypeScript support.
dune Hobby JavaScript and TypeScript runtime built on V8 in Rust.
azle WebAssembly runtime for TypeScript and JavaScript on the Internet Computer (ICP).

Loaders / Execution Tools

Project Description
tsx Run TypeScript with an esbuild-powered ESM loader.
ts-node TypeScript execution and REPL for Node.js.
ts-blank-space Small, fast, pure-JS type-stripper that uses the official TypeScript parser.
swc-node Fast Node runtime path for TypeScript without typechecking.
esbuild-register On-the-fly JSX/TypeScript/esnext transpilation with esbuild.
tsm TypeScript module loader supporting node <file>, --loader, and --require.
tsimp Node import loader that uses the official TypeScript implementation and aims for tsc consistency with typechecking.
Amaro Node.js TypeScript wrapper around @swc/wasm-typescript, used internally for Node’s type stripping.
vite-node Legacy Vite-powered Node runtime with TS support; new projects are now directed to Vite’s built-in Module Runner.
jiti Runtime TypeScript and ESM support for Node.js.

Other Language Targets

Project Target Description
AssemblyScript WASM TypeScript-like language for WebAssembly. (playground)
ts2lua Lua Feature-complete TypeScript to Lua compiler. (playground)
roblox-ts Luau TypeScript-to-Luau compiler for Roblox. (playground)
ts2c C Convert Javascript/TypeScript to C (online demo)
TypeScript2Cxx C++ TypeScript to C++ transpiler.
ts2gd GDScript Compile TypeScript to GDScript for Godot.
typesl GLSL Typescript to GLSL transpiler.
hydro-sdk Flutter No native bridge, no V8. Just Dart.
jsii Python/Java/C#/.NET/Go/... Lets you author libraries in TypeScript and consume them from Python, Java, C#/.NET, Go, and more.
ts2nim Nim Typescript to Nim transpiler.
ts2dart Dart TypeScript to Dart transpiler.
SharpTS .NET IL TypeScript interpreter/compiler in C# with ahead-of-time compilation to .NET IL.
speedy.js WASM Compile TypeScript to WebAssembly for accelerated execution.
ts2rust Rust Typescript to Rust transpiler.
ts2php PHP Typescript to PHP Transpiler.
ts2py Python TypeScript to Python converter.
ast-transpiler PHP/Python/C#/Go Work-in-progress AST-based transpiler from TypeScript to PHP, Python, C#, and Go.
Karakum Kotlin Converts TypeScript declaration files into Kotlin declarations.
Porffor WASM/Native Ahead-of-time JavaScript/TypeScript compiler producing WebAssembly and native binaries.
ts2go Go Experimental TypeScript to Go transpiler. (playground)
ts-swift-transpiler Swift JavaScript/TypeScript to Swift transpiler built with ANTLR.
ts2haxe Haxe TypeScript to Haxe converter that automates common conversion tasks.
Wasmnizer-ts WasmGC Toolchain for compiling TypeScript to WebAssembly with GC support.
poseidon Anchor (Rust) Transpiler that converts TypeScript Solana programs into Anchor (Rust).

Experimental/Research Projects

Project Type Description
BosqueLang Research Language A TypeScript-like language created by Microsoft.
TypeRunner Native Compiler Experimental TypeScript to native code compiler.
StaticScript Research Language A new statically typed programming language with native compilation.
tsCompiler Native Compiler TypeScript to native code compiler using LLVM.
ts-llvm Native Compiler TypeScript to LLVM IR compiler enabling AOT native compilation (archived).
mini-typescript Educational A miniature model of the TypeScript compiler intended to teach the structure of the real one.
muta-minits Native Compiler TypeScript to LLVM compiler from Nervos Network for the Muta blockchain framework (archived).
typescript-types-only-wasm-runtime Type-Level A WebAssembly runtime implemented entirely in TypeScript types.
tyvm Type-Level Experimental bytecode interpreter / type-checker for type-level TypeScript, written in Zig.