▲ | mattlondon 5 days ago | ||||||||||||||||||||||
What are the recent improvements in node itself? Last actually note-worthy improvement I heard of was properly supporting import/export (although do you still need to use the .mjs hack?), but I've been out of the loop here for sometime so would be nice to know what they've added since. | |||||||||||||||||||||||
▲ | pavlov 5 days ago | parent | next [-] | ||||||||||||||||||||||
Here’s a nice overview: https://kashw1n.com/blog/nodejs-2025/ It doesn’t cover everything, but as an old-school Node user I found several interesting features I didn’t know about. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | 9dev 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Small but lovely addition for me is the ability to load .env files natively. There’s more like this; small, focused, real-world-improving features. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | Tade0 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||
> (although do you still need to use the .mjs hack?) Syntax detection is enabled by default in v22.7.0, v20.19.0: https://nodejs.org/api/packages.html#syntax-detection Sounds like the obvious correct solution, making .cjs and .mjs obsolete - unless of course someone uses import() statements exclusively, in which case I need to ask: why? | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | the_mitsuhiko 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||
using, memory64, undici, async local storage, ESM import improvements, type stripping, local storage / session storage, env file support, built in file watching. Those are just the ones I mainly remember. There is a lot more. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | moi2388 5 days ago | parent | prev [-] | ||||||||||||||||||||||
Do you mean.. node-worthy? |