ttsc is a general-purpose TypeScript-to-Go compiler, plugin host, and runtime that enables compiler-powered transforms and type-safe execution. Current stable version is v0.6.0, released with ongoing updates roughly every few months. Key differentiators: it provides a ttsx executor that is 10x faster than ts-node and includes type checking (unlike tsx), supports native Go-based transformer plugins configured via tsconfig.json, and integrates with libraries like typia. It includes a built-in linter and supports TypeScript 6 preview.
npm install ttscNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation and basic usage of ttsc/ttsx with typia for type validation, including CLI commands for execution and compilation.
Run 'npm i -D @typescript/native-preview' alongside ttsc.
Run 'npx ttsc clean' after modifying plugin code.
Avoid reliance on built-in linting; configure ESLint independently.
Ensure plugin objects have a 'transform' property pointing to the module import path.
Replace 'tsgo' with 'ttsc' in package.json scripts and shell commands.
Install and configure @ttsc/paths plugin in tsconfig.json.
Install with 'npm i -D @typescript/native-preview'.
Install TypeScript: 'npm i -D typescript'.
Check that 'transform' property points to a valid plugin module (e.g., 'typia/lib/transform').