Settings

Theme

Show HN: TTSC – TypeScript-Go compiler and runner with transform plugins

github.com

2 points by autobe a day ago · 8 comments · 1 min read

Reader

- *`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`.

k-taro56 a day ago

With current Node.js, you can run TypeScript directly without ttsc.

  • autobeOP 21 hours ago

    But it does not support plugin, and does not type checking either.

    • k-taro56 21 hours ago

      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.

esafak a day ago

How does it compare with oxlint?

  • autobeOP a day ago

    `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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection