-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
There is also a forked version of the compiler that allows custom transformers: https://github.com/cevek/ttypescript
And Typescript's compiler API but I don't think it's exactly what you'd want. But i've never looked at it so idk. https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API
It might be helpful to keep in mind: Typescript is a compiler that parses a Typescript AST and prints out whatever you want. So if your goal is to use it in a JS context, the only thing regulating what you do with it is that it outputs valid JS that can be interpreted by the various JS engines. There are projects like TypeScriptToLua which uses the TS compiler to print out Lua code.
My point is, instead of *forking* Typescript, why not just write a transform? Instead of creating new syntax, write up a visitor that will walk through something that looks like a result type and output the JS code that handles it correctly. This is how things like optional chaining were supported before they were incorporated into the compiler. Here's a similar question from a few weeks ago that I responded to in more detail.
My point is, instead of *forking* Typescript, why not just write a transform? Instead of creating new syntax, write up a visitor that will walk through something that looks like a result type and output the JS code that handles it correctly. This is how things like optional chaining were supported before they were incorporated into the compiler. Here's a similar question from a few weeks ago that I responded to in more detail.
Related posts
-
Ts-morph – programmatically manipulate TypeScript source code with TypeScript
-
ts-dynamodb-attributes-transformer - A code transformer of TypeScript object to DynamoDB attributes
-
Window.js is an open-source JavaScript runtime for desktop graphics programming
-
TypeScript++?
-
How can I generate types using AST?