Time for the periodic "how are ESM-only modules on npm doing" update:

Looked at some arbitrarily selected popular sindresorhus modules (delay, p-event), and >90% of installs continues to be of (now at least 4 years old) CommonJS versions.

Yeah, I don't think this qualifies as a success for ESM.

Follow

@Byte ES Modules; an addition to the ECMAScript specification that was *supposed* to replace the widely-used CommonJS format (for rather shaky reasons), and has completely failed to do so because it turns out that incompatible core language changes are a bad idea and apparently nothing was learned from Python 2/3

· · Web · 1 · 0 · 1
Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.