
Node 20 Is EOL. Every Supported Node Can require() ESM. Ship Your Library ESM-Only
Every supported Node (22.12+, 24, 26) loads ES modules via require(). Rebuild a TS library ESM-only, prove it from CommonJS, see what still breaks.
Tag archive

Every supported Node (22.12+, 24, 26) loads ES modules via require(). Rebuild a TS library ESM-only, prove it from CommonJS, see what still breaks.
Hardhat 3 in a CommonJS Application: Isolating ESM Tooling Without Breaking CI Modernising...
⚠️ この記事はアフィリエイト広告(プロモーション)を含みます。リンク先で発生した収益の一部が運営者に支払われますが、読者の購入価格には一切影響ありません。 If you just added...

Dual ESM/CJS in 2026: exports map ordering, two tsconfigs, conditional first-match. The package-json setup that just works.
Why Choose Fastify Over NestJS, ExpressJS, and Koa? Based on my experience using ExpressJS...
Starting with Node 22.18.0 it is possible to run TypeScript natively from the Node interpreter. This...
JavaScript has had an interesting journey when it comes to module systems. CommonJS (CJS) has been...
TLDR You have to use a bundler such as esbuild which will compile your project and bundle...
When starting a new web project where JavaScript will be used, often the first thing we do is set up...

Well we've all been down that road haven't we? trying to build a Node TypeScript package that...

It was a normal patching day. I patched and upgraded my npm dependencies without making code changes,...
(This was originally an in-person talk I gave, so the following graphics are from said presentation...