TypeScript Compiler

Open-source TypeScript projects categorized as Compiler | Edit details

Top 20 TypeScript Compiler Projects

  • Svelte

    Cybernetically enhanced web apps

    Project mention: Discussion Thread | reddit.com/r/neoliberal | 2022-01-22

    Then you can learn some basic JavaScript and then learn the Svelte framework for JS because they have, bar none, the best tutorial I have seen

  • Babel (Formerly 6to5)

    🐠 Babel is a compiler for writing next generation JavaScript.

    Project mention: Plugin suggestions for productivity | reddit.com/r/neovim | 2022-01-12

    I use it daily, trying to configure it to give it a chance. Currently the problem I see is with a large monorepo created with nx tool. It is bigger than babel repo, and has a very convoluted file structure. There are such problems as:

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • sucrase

    Super-fast alternative to Babel for when you can target modern JS runtimes

    Project mention: Sucrase: A fast, pure-JavaScript transpiler for JavaScript/TypeScript | news.ycombinator.com | 2021-11-08
  • mitosis

    Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and more.

    Project mention: Mitosis: Write components once, run everywhere | news.ycombinator.com | 2022-01-17
  • TypeScriptToLua

    Typescript to lua transpiler. https://typescripttolua.github.io/

    Project mention: Window.js is an open-source JavaScript runtime for desktop graphics programming | news.ycombinator.com | 2022-01-10

    One immediate comparison that springs to my mind is the Löve 2D engine [1], which is a tiny game engine written entirely around Lua scripting (so that Lua includes the full game run loop as well).

    Lua is a good scripting language, but it doesn't have the ubiquity of JS (and Löve doesn't have the ubiquitous deployment of the modern browser). Also, Lua doesn't have a static type ecosystem (though there are interesting projects like TypescriptToLua [2] exploring that space, but you can from the name they are following/lagging the JS ecosystem here).

    There probably is a need to package more browser games as "real" games and a lightweight Canvas-focused approach could find a nice like Löve, especially if it were easier, for instance, to maybe port to consoles for small/indie game teams than one of the web views or Electron. (Though certainly Microsoft already has a version of WebView2 running on the Xbox.)

    [1] https://love2d.org/

    [2] https://github.com/TypeScriptToLua/TypeScriptToLua

  • estrella

    Lightweight and versatile build tool based on the esbuild compiler

    Project mention: Estrella: Lightweight and versatile build tool based on the esbuild compiler | news.ycombinator.com | 2021-07-16
  • verilog2factorio

    This project will compile verilog (a hardware description language) into factorio blueprints.

    Project mention: JavaScript, like HTML, is not a programming language. | reddit.com/r/ProgrammerHumor | 2021-12-03

    As well was what the sibling comment linked, there's this for Factorio, if you know that game.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • tiny-sass-compiler

    Another sass compiler write from scatch,runnable on both node and browser

    Project mention: A simple SASS compiler with zero dependency | reddit.com/r/typescript | 2021-09-16
  • Snel

    A Cybernetical framework for svelte applications in deno

    Project mention: Show HN: SNEL – Svelte in Deno Apps | news.ycombinator.com | 2021-08-08
  • REXS

    A language for writing regular expressions.

    Project mention: Introducing REXS: A language for writing regular expressions | reddit.com/r/programming | 2021-07-01

    That's a pretty neat example, and REXS actually does have something like this. The main reason is that you end up with a lot of unnecessary things (like commas, lambdas, etc) everywhere that make things a bit disorganized and hard to read.

  • ts-transform-import-path-rewrite

    TS AST transformer to rewrite import path

  • js-ziju

    Compile javascript to LLVM IR, x86 assembly and self interpreting

    Project mention: Compile javascript to LLVM and x86 assembly | reddit.com/r/typescript | 2021-09-21
  • uniroll

    Opinionated universal frontend bundler in browser

    Project mention: Major updates for bundle.js.org v0.0.3 | dev.to | 2021-09-19

    This project was greatly influenced by hardfists neo-tools and mizchi's uniroll project.

  • cashscript

    ⚖️ Easily write and interact with Bitcoin Cash smart contracts

    Project mention: Layer one smart contracts: if one wanted to go down this rabbit hole, what are some resources one could research? | reddit.com/r/btc | 2021-12-19
  • mints

    lightweight typescript compiler

    Project mention: mints - lightweight typescript compiler (7.8kb) | dev.to | 2021-12-02
  • psi

    WIP ISO 7185 Pascal interpreter (by komninoschat)

    Project mention: Typing an Abstract Syntax Tree | reddit.com/r/typescript | 2021-08-30

    There's this https://github.com/komninoschat/psi by /u/komninosc

  • avro-to-typescript

    Compile Apache Avro schema files to TypeScript classes

    Project mention: Open source proxy layer in front of Kafka for strongly typed events? | reddit.com/r/apachekafka | 2021-10-22

    Thanks for the pointer on the Schema Registry! I'm thinking that we could have our Avro schemas and then generate strongly typed SDKs for our microservices using something like an Avro to Typescript types generator. These SDKs could use an existing Kafka Client, assuming we'd be using Kafka for our event streaming layer.

  • TypeCake

    TypeCake is a language that compiles to TypeScript types. (WIP)

    Project mention: TypeCake, a language that compiles to TypeScript types | news.ycombinator.com | 2021-09-13
  • reco

    Regular Expression COmpiler - Compile a regex ahead of time to code (by Pita)

    Project mention: Regular Expression COmpiler - Compile a regex ahead of time to code | reddit.com/r/programming | 2021-02-04
  • vue-sfc2esm

    Transpiled Vue SFC File to ES modules.

    Project mention: I built a online sandbox with vue 3. sandbox as a component. | reddit.com/r/vuejs | 2021-06-07

    📁 Virtual File System (Support Compile .vue/.js File). based on vue-sfc2esm

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-22.

TypeScript Compiler related posts


What are some of the best open-source Compiler projects in TypeScript? This list will help you:

Project Stars
1 Svelte 55,058
2 Babel (Formerly 6to5) 40,292
3 sucrase 4,484
4 mitosis 3,924
5 TypeScriptToLua 1,160
6 estrella 984
7 verilog2factorio 572
8 tiny-sass-compiler 259
9 Snel 227
10 REXS 126
11 ts-transform-import-path-rewrite 115
12 js-ziju 109
13 uniroll 107
14 cashscript 82
15 mints 72
16 psi 47
17 avro-to-typescript 29
18 TypeCake 28
19 reco 12
20 vue-sfc2esm 9
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.