3 ms·
I wouldn't worry about that. Node is moving to ECMAScript modules.
by nicoburns 5y ago
I wouldn't worry about that. Node is moving to ECMAScript modules.
- akyoan 5y agoNode is not "moving to ESM", they don't even plan to deprecate CJS. They will continue to support both for the foreseeable future. Their docs still use `require` in a lot of places even though ESM has been enabled on stable releases for almost 2 years.
- ecares 5y agoPRs on doc are always appreciated.
- lloydatkinson 5y agoI heard there was a movement internally for a while to block adoption of ES modules because the core team members "didn't like ES modules" (again, what I saw tweeted a long time ago and don't remember the source). So that certainly can't be helping adoption of it. This is one of the reasons Deno is superior - it makes use of language features not a badly designed module format.