#CommonJS
ACAB includes the CommonJS export lexer
August 11, 2026 at 6:48 PM
Friendly reminder that CommonJS functionality is frequently unspecified and often falls somewhere between "script" and "module" programs as defined by ECMA-262. It's really time to stop using CommonJS.

https://github.com/nodejs/node/issues/58663
June 10, 2025 at 6:32 PM
You don't need these Rollup plugins anymore. @rolldown.rs makes them obsolete.

Built-in support for:

◆ @rollup/plugin-node-resolve
◆ @rollup/plugin-json
◆ @rollup/plugin-commonjs

More below...
February 10, 2026 at 8:42 PM
ESM (ECMAScript Modules, as we all know) is crucial to go to space! Take that, CommonJS.
Artemis II's European Service Module, or ESM, is the crucial ESA component powering #NASA's Orion spacecraft for this mission, its first crewed lunar flyby flight.
Artemis II astronauts visit European Service Module-2
YouTube video by European Space Agency, ESA
www.youtube.com
January 11, 2026 at 11:22 PM
Currently working on removing CommonJS support from Iconify packages.

While I did want to keep support for as long as possible, dependencies dropping support for CommonJS make it harder and harder to do. So it is time to join.

Soon I'll release new major versions of all packages, without CommonJS
July 23, 2025 at 1:46 PM
Is it because CommonJS was their baby
September 12, 2025 at 11:52 PM
Joyee Cheung talks about CommonJS and ESM in Node.js at the Web Engines Hackfest 2025 @joyeecheung.bsky.social @nodejs.org www.youtube.com/watch?v=YRue...
Joyee Cheung - Bridging CommonJS and ESM in Node.js
YouTube video by Web Engines Hackfest
www.youtube.com
June 17, 2025 at 2:50 PM
Slides of my talk @webengineshackfest.org - Bridging CommonJS and ESM in Node.js, or implementor's tales of require(esm)

github.com/joyeecheung/...
github.com
June 2, 2025 at 11:27 AM
pnpm init will also default to "type": "module" from v11. Hopefully other package managers will follow pnpm lead. There is no reason to default to commonjs right now.
April 21, 2026 at 7:35 AM
CommonJS? ESM? TypeScript? Wait, even CommonJS TypeScript?? Eleventy can run them all.

www.11ty.dev/docs/cjs-esm/

Which should you choose? It depends! The social-media sized answer is: ESM 😅
CommonJS, ESM, TypeScript
A docs page for Eleventy, a simpler static site generator.
www.11ty.dev
December 16, 2025 at 9:26 PM
React is shamefully still shipped as CommonJS modules more than

TEN YEARS

after JavaScript modules have been standardized.
November 7, 2025 at 2:41 AM
The key thing is that it's not node10+commonjs anymore 😅
June 7, 2025 at 2:36 PM
half of prettier's install size is a commonjs duplicate of the ESM

imagine how much data will be saved once people stop shipping dual-packages. prettier is one of many
February 25, 2025 at 9:39 AM
📮 New post:

Lessons learned moving Eleventy (@11ty.dev) from CommonJS to ESM.

www.zachleat.com/web/eleventy...

New talk video and slides from CFE’s TheJamDev event.
Lessons learned moving Eleventy from CommonJS to ESM—zachleat.com
A post by Zach Leatherman (zachleat)
www.zachleat.com
February 7, 2024 at 4:58 PM
I gave a talk today at @nordicjs.com about shipping Node.js packages in 2025...or how to transition from shipping dual/faux-ESM/CommonJS to shipping ESM directly!

Slides at github.com/joyeecheung/...
github.com
October 3, 2025 at 9:33 AM
"No more juggling CommonJS and faux-ESM."
- @joyeecheung.bsky.social revealed how @nodejs.org is moving to full ESM and why the future looks brighter for developers.

www.youtube.com/watch?v=I0jv...
October 16, 2025 at 8:12 AM
annyang is a 2 KB JavaScript library that adds voice command control to any site using the browser's built-in Speech Recognition API.

- Zero dependencies and MIT licensed
- Supports ESM, CommonJS, and script tag imports
- Define commands with simple keyword matching and wildcard parameters
May 21, 2026 at 8:55 PM
I usually use NPM Graph for this:

npmgraph.js.org?q=vitest#dep...
January 15, 2025 at 9:17 AM
Most desired JS changes by the panel:

🔶 Type Annotations
🔶 Deprecating CommonJS
🔶 AsyncContext
🔶 Module Declarations
October 8, 2025 at 11:51 PM
there's only one thing worse than commonjs

cjs/esm interop
September 4, 2025 at 11:57 AM
I'm running madge - a tool to generate a visual dependency graph - on the @sentry.io frontend codebase and it's been going on for 2.5 hours. I'm not sure if it will ever finish or if the result is going to be readable at all 😅.
GitHub - pahen/madge: Create graphs from your CommonJS, AMD or ES6 module dependencies
Create graphs from your CommonJS, AMD or ES6 module dependencies - pahen/madge
github.com
May 29, 2025 at 9:35 AM
`require(esm)` got backported to Node 20! 🎉

When Node 18 hits EOL in less than 3 months, we can finally drop CJS builds and go ESM-only
[v20.x] backport unflagging of require(esm) to v20 by joyeecheung · Pull Request #56927 · nodejs/node
This backport includes the following PRs with modifications: See summary module: eliminate performance cost of ESM syntax detection for CommonJS entry points #52093: Adapted to the lack of packag...
github.com
February 11, 2025 at 10:12 PM
Now I learned how to convert from CommonJS to ESM.
I've learned how to import functions from different files. 💪

I know it's simple but I've known programming basics for a long time but never knew how to do that so it feels really cool to build out an organized script library

like a sick fuck
BitBurner wasn't strong enough to satisfy me anymore I'm just straight up programming my own apps now like a sick fuck
July 11, 2025 at 11:15 AM
i think there’s exceptions to this but they’re very rare, like react betting on commonjs very early (and even then it was alternatively consumable via umd for a loooong time).

you want to be butter smooth with existing ecosystem *and* as a bonus, can unlock more with emerging tech
danabra.mov dan @danabra.mov · Nov 16
just want to come back to this thread to say i still thoroughly disagree with this philosophy of forcing double buy-in with tech looking for mainstream adoption

wanting atproto to win is great

wanting deno to win is cool too

making atproto projects annoying to run outside deno — huge mistake imo
November 16, 2025 at 5:38 PM
Bundling is such an underused feature of server dev. It can easily reduce cold start times by 30-40%.

Maybe it's because most backend deps are still stuck with commonjs.
October 28, 2025 at 11:51 AM