How to write CommonJS exports that can be name-imported from ESM Monday, October 17, 2022 Teklinks This blog post explores how to write CommonJS modules so that their exports can be name-imported from ESM modules on Node.js. When importing CommonJS modules, the module.exports object is provided as the default export. Full article Email This BlogThis! Share to X Share to Facebook