Re:Node.js 16 Available Now
by throwanem on Tuesday April 20, 2021 @04:15PM
(#26880945)
One into which you have to opt in, yet.
[ Parent
| on HN ]
Re:Node.js 16 Available Now
by eyelidlessness on Tuesday April 20, 2021 @04:45PM
(#26881400)
I don’t think that’s true. It’s supported in any ESM module, per the ESM standard, without any config or runtime flags. If you mean using ESM to be the opt-in mechanism, that’s not a meaningful distinction. CJS modules and require have always been synchronous and likely always will be. Changing that would break too many things.