Node.js is able to execute TypeScript files without additional configuration

nodejs.org

442 points by steren 4 days ago


lunarcave - 4 days ago

I think this + node:test makes Node.js a pretty compelling sensible default for most things now. Running things with `tsx` was such a QoL improvement when it happened, but it didn't solve everything.

Runtime type assertion at the edges is mostly solved through `zod` and tools like `ts-rest` and `trpc` makes it so much easier to do full-stack Typescript these days.