Show HN: TTSC – TypeScript-Go compiler and runner with transform plugins(github.com)
github.com
Show HN: TTSC – TypeScript-Go compiler and runner with transform plugins
https://github.com/samchon/ttsc
- *`ttsc`*: build, check, and transform.
- *`ttsx`*: execute TypeScript with type checking.
- 10x faster than `ts-node`.
- type checking that `tsx` does not provide.
- *`@ttsc/lint`*: lint rule violation as TS compile error.
- *transformer support*: compiler-powered libraries, such as `typia`.
8 comments
With current Node.js, you can run TypeScript directly without ttsc.
But it does not support plugin, and does not type checking either.
If you want type checking, there’s tsc.
Do you ever really want to check types at runtime? If anything, you just want it to somehow work, right? Like Python.
Do you ever really want to check types at runtime? If anything, you just want it to somehow work, right? Like Python.
How does it compare with oxlint?
`oxlint` is an independent program with typescript compiler, and @ttsc/lint is a plugin belongs to the typescript compiler.
So when using `oxlint`, you have to run it after TS compilation, but `@ttsc/lint` configured violations are detected when TS compilation.
So when using `oxlint`, you have to run it after TS compilation, but `@ttsc/lint` configured violations are detected when TS compilation.