Esm

Article header

How to use ESM on the web and in Node.js

ESM (ECMAScript Modules) is a modern module format with many advantages over previous formats like CommonJS. How do you switch to it?


By Jacob Jackson

December 14, 2023