Tsonic – TypeScript to C# NativeAOT compiler
JSON →Tsonic is a compiler that translates TypeScript into C# and compiles it to a NativeAOT binary. Current version 0.0.84 is pre-release and under active development with weekly commits. Compared to other TypeScript-to-native tools (like ts-node, Bun, Deno), Tsonic targets full ahead-of-time compilation via .NET NativeAOT, offering potential performance improvements and direct interoperability with the .NET ecosystem. It is CLI-based and requires Node.js 22+ and .NET 10 SDK. The package is distributed as a global or dev dependency npm package and is still experimental; breaking changes are likely.
Resources
packagetsonic ↗