Bun can do it for years now. I think it's time to move on.
Bun has lots of issues and lots of incompatibilities with a lot of packages.
Node.js is able to execute TypeScript files without additional configuration
61–70 of 275 posts
Re: Node.js is able to execute TypeScript files without additional configuration
#62Earlier quoted context omitted.
This. It's 2025 and the node ecosystem is finally usable by default! ESM modules just work with both Node and Typescript, Node can run .ts files, and there's the a good enough test runner built in. --watch. The better built in packages - `node:fs/promises` - are nice with top-level await for easier async loops. It took a while to convince everyone involved to just be pragmatic, but it's nice now.
does it have a go fmt / lint command yet?
Re: Node.js is able to execute TypeScript files without additional configuration
#63Impressed with what Node is doing the last years, deno and bun has really made Node focus and improve. It was stuck for a while
On the projects I am involved, they could even not exist, only node LTS releases matter, and the most recent projects are still node 20.
Re: Node.js is able to execute TypeScript files without additional configuration
#64Great, it does type stripping by replacing TypeScript with whitespace. Can it also now load ES5 modules? That way we can use them for everything.
Re: Node.js is able to execute TypeScript files without additional configuration
#65Earlier quoted context omitted.
This. It's 2025 and the node ecosystem is finally usable by default! ESM modules just work with both Node and Typescript, Node can run .ts files, and there's the a good enough test runner built in. --watch. The better built in packages - `node:fs/promises` - are nice with top-level await for easier async loops. It took a while to convince everyone involved to just be pragmatic, but it's nice now.
does it have a go fmt / lint command yet?
npx prettierRe: Node.js is able to execute TypeScript files without additional configuration
#66I wish browsers also supported directly running typescript files.
Re: Node.js is able to execute TypeScript files without additional configuration
#67I wish browsers also supported directly running typescript files.
Re: Node.js is able to execute TypeScript files without additional configuration
#68Impressed with what Node is doing the last years, deno and bun has really made Node focus and improve. It was stuck for a while
Have them though? On the projects I am involved, they could even not exist, only node LTS releases matter, and the most recent projects are still node 20.