lukeed / tsm

TypeScript Module Loader
MIT License
1.19k stars 19 forks source link

Differences between `tsm` & `tsnode`? #5

Closed Enteleform closed 3 years ago

Enteleform commented 3 years ago

What use cases & functionality does tsm provide that ts-node does not?

In what cases would it be better to prefer one over the other?

lukeed commented 3 years ago

Overall, tsm is much faster and does not have all the same friction issues. It's effectively a blend between a bundler and a runtime transformer, offering complete flexibility (for extensions & for tooling integration) and without compromising any of the import/export semantics of your files.

opensas commented 3 years ago

I think something like this belongs to the readme file