Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Latest node.js now supports „just running ts“ for cases like these:

node --experimental-strip-types index.ts

On non-latest Node tsx package worked great for me (as oppposed to ts-node)

But both of those options just throw away type information (and so does Bun)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: