3 ms·
Kinda crazy that ts-node is still the recommendation when it hasn't been updated since 2023. And likewise crazy that no other lib has emerged that has typescrip
by Narretz 8mo ago
Kinda crazy that ts-node is still the recommendation when it hasn't been updated since 2023. And likewise crazy that no other lib has emerged that has typescript compilation and typechecking. Of course if it works, don't fix it, but typescript has evolved quite a bit since 2023.
- dcre 8mo agoI like tsx for this, and it's actively maintained. The author may not know about it. https://github.com/privatenumber/tsx https://github.com/privatenumber/tsx
- TheAlexLichter 8mo agoLove that fact that you don't need anything ts-node/tsx like if you have erasable syntax only. Other than that, there is https://github.com/oxc-project/oxc-node https://github.com/oxc-project/oxc-node too.