What backend framework is the go to these days? Still Express?
Node.js is able to execute TypeScript files without additional configuration
91–100 of 275 posts
Re: Node.js is able to execute TypeScript files without additional configuration
#92Earlier quoted context omitted.
Bun has lots of issues and lots of incompatibilities with a lot of packages.
What are the issues
Re: Node.js is able to execute TypeScript files without additional configuration
#93But still, bun is the winner here. I recently started using bun and now not moving to node.js again. It just works.
Re: Node.js is able to execute TypeScript files without additional configuration
#94Earlier quoted context omitted.
As a quick aside, “them” is an object pronoun, not a subject pronoun. The correct word you needed is “they”. You couldn’t phrase your original question as a statement “Them have though.” That’s often a quick test for valid English grammar. With the correct pronoun, it makes more sense: “They have though.” As another example, take this sentence: “Have you seen them though?” “You” is the subject of that sentence, and “…
Them is fine. It's short for "Have them [Node bozos improved it], though?" Or, equally likely it, refers to deno and bun ("deno and bun has really made Node focus and improve", "Have them (deno and bun) really made Node focus and improve, though?")
Re: Node.js is able to execute TypeScript files without additional configuration
#95I 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.
Does this run tsx? Even with the types stripped you still need the JSX transformed to JavaScript
Re: Node.js is able to execute TypeScript files without additional configuration
#96Earlier quoted context omitted.
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.
22 is LTS. The future is now.
There is a reason why so many Java, Python, .NET/C#, C, C++,.. projects are stuck several versions behind.
Re: Node.js is able to execute TypeScript files without additional configuration
#97Re: Node.js is able to execute TypeScript files without additional configuration
#98Re: Node.js is able to execute TypeScript files without additional configuration
#99Earlier quoted context omitted.
werent one of the js linters part of a supply chain attack recently?
Maybe, are you sure Go dependencies are immune to similar attacks?
Re: Node.js is able to execute TypeScript files without additional configuration
#100I know I’m just a single data point but I’ve had a lot of success migrating old node projects to bun (in fact I haven’t used node itself since Bun was made public)
Again, I might be saying something terribly stupid because JS/TS isn’t really my turf so please let me know if I’m missing something.