awesome-typescript-compilers
A curated list of awesome TypeScript compilers, transpilers and runtimes.
https://github.com/JohnDeved/awesome-typescript-compilers
Last synced: 3 days ago
JSON representation
Experimental/Research Projects
- BosqueLang - A TypeScript-like language created by Microsoft.
- TypeRunner - Experimental TypeScript to native code compiler.
- StaticScript - A new statically typed programming language with native compilation.
- tsCompiler - TypeScript to native code compiler using LLVM.
- ts-llvm - TypeScript to LLVM IR compiler enabling AOT native compilation (archived).
- mini-typescript - A miniature model of the TypeScript compiler intended to teach the structure of the real one.
- muta-minits - TypeScript to LLVM compiler from Nervos Network for the Muta blockchain framework (archived).
- typescript-types-only-wasm-runtime - A WebAssembly runtime implemented entirely in TypeScript types.
- tyvm - Experimental bytecode interpreter / type-checker for type-level TypeScript, written in Zig.
- scriptc - Experimental TypeScript/JavaScript compiler that emits LLVM IR for native executables and WebAssembly modules.
JavaScript Targets
- tsc - Official TypeScript compiler by Microsoft. (playground)
- swc - Rust-based platform for fast TypeScript/JavaScript compilation. (playground)
- esbuild - Extremely fast TypeScript/JavaScript bundler written in Go. (playground)
- babel - The compiler for next generation JavaScript with TypeScript support. (playground)
- sucrase - Super-fast alternative to Babel focusing on modern JS runtimes. (playground)
- oxc - Rust-based JavaScript/TypeScript toolchain including parser, linter, and compiler. (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 (archived).
- tsup - TypeScript library bundler powered by esbuild; no longer actively maintained. The project recommends tsdown.
- rollup - JavaScript module bundler with TypeScript support. (repl)
- tsgo - Go-based TypeScript compiler by Microsoft targeting 10x performance.
- vite - Next generation frontend tooling with TypeScript support. (playground)
- rspack - Rust-based Webpack-compatible bundler with TypeScript support. (playground)
- rolldown - Fast Rust bundler for JavaScript/TypeScript with Rollup-compatible API. (repl)
- farm - Extremely fast Vite-compatible web build tool written in Rust.
- webpack - JavaScript bundler with TypeScript integration.
- parcel - Zero configuration web app bundler with TypeScript support. (repl)
- Rsbuild - Fast build tool that integrates Rspack, SWC, and Lightning CSS.
- Rslib - Library development tool built on top of Rsbuild/Rspack.
- tsdown - Library bundler powered by Rolldown and Oxc; builds TypeScript and generates declaration files.
- swc4j - JVM-facing TypeScript/JavaScript compilation and bundling tool built around SWC.
- Turbopack - Rust-based incremental bundler integrated into Next.js; transpiles TypeScript with SWC without type checking. (docs)
-
tsc-rs
- Rust port of Microsoft's Go-based TypeScript compiler and language server, with
tsc-compatible type checking and built-in Effect diagnostics (T3). -
tsrs
- Rust port of Microsoft's Go-based TypeScript compiler and language server, with
tsc-compatible type checking and Oxlint integration (VoidZero).
Loaders / Execution Tools
- tsx - Run TypeScript with an esbuild-powered ESM loader.
- ts-node - TypeScript execution and REPL for Node.js.
- jiti - Runtime TypeScript and ESM support 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
tscconsistency 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.
Other Language Targets
- AssemblyScript - TypeScript-like language for WebAssembly. (playground)
- ts2c - Convert Javascript/TypeScript to C (online demo)
- TypeScript2Cxx - TypeScript to C++ transpiler.
- ts2gd - Compile TypeScript to GDScript for Godot.
- typesl - Typescript to GLSL transpiler.
- hydro-sdk - No native bridge, no V8. Just Dart.
- ts2lua - Feature-complete TypeScript to Lua compiler. (playground)
- roblox-ts - TypeScript-to-Luau compiler for Roblox. (playground)
- ts2nim - Typescript to Nim transpiler.
- ts2dart - TypeScript to Dart transpiler.
- speedy.js - Compile TypeScript to WebAssembly for accelerated execution.
- ts2rust - Typescript to Rust transpiler.
- ts2php - Typescript to PHP Transpiler.
- ts2py - TypeScript to Python converter.
- jsii - Lets you author libraries in TypeScript and consume them from Python, Java, C#/.NET, Go, and more.
- SharpTS - TypeScript interpreter/compiler in C# with ahead-of-time compilation to .NET IL.
- ast-transpiler - Work-in-progress AST-based transpiler from TypeScript to PHP, Python, C#, and Go.
- Karakum - Converts TypeScript declaration files into Kotlin declarations.
- Porffor - Ahead-of-time JavaScript/TypeScript compiler producing WebAssembly and native binaries.
- ts2go - Experimental TypeScript to Go transpiler. (playground)
- ts-swift-transpiler - JavaScript/TypeScript to Swift transpiler built with ANTLR.
- ts2haxe - TypeScript to Haxe converter that automates common conversion tasks.
- Wasmnizer-ts - Toolchain for compiling TypeScript to WebAssembly with GC support.
- poseidon - Transpiler that converts TypeScript Solana programs into Anchor (Rust).
- TypeGPU - Generates WGSL shaders from GPU-targeted TypeScript functions for WebGPU. (docs)
Related Tooling
- biome - Rust-based formatter and linter for JavaScript/TypeScript, complementary to compilers and runtimes. (playground)
Runtimes
- deno - Secure TypeScript runtime & toolkit written in Rust.
- bun - Fast JavaScript and TypeScript runtime & toolkit written in Zig.
- 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).
-
Node.js
- JavaScript runtime with built-in TypeScript type stripping for erasable syntax; does not type-check, read
tsconfig.json, or support TSX. (docs) - ant - Fast, lightweight JavaScript and TypeScript runtime with its own engine.