Hacker News new | ask | show | jobs
by throwaway11460 840 days ago
npm install -g tsx

Name your files .ts and run with tsx ./file.ts

All done, good to go

1 comments

I just use npx vite-node or bun to run TS directly