5 posts about CommonJS by 5 contributors.
Know CommonJS? Share what you know with developers who are learning it.
Learn to build a reusable JavaScript library with Vite, configure ES module and CommonJS output, set package metadata, and prepare the package for npm publishing.
Navigate Node.js module conflicts! Understand ESM vs. CommonJS, their differences, and how to resolve import/export issues for smoother development workflows.
This article explains the differences between require() and import in Node.js, when to use each, how they work under the hood, and their impact on performance and compatibility.
JavaScript modules organize code into reusable components, promoting modularity. ES6 modules use 'import' and 'export,' while CommonJS relies on 'module.exports' and 'require.' Encapsulate functionality, export values, and promote reusability for maintainable code.
This article briefly exlains the CommonJS API that allows developers to build APIs and server-side APIs and libraries.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only17days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article