Akritiakriti111.hashnode.dev·Aug 31, 2024Understanding CommonJS (CJS) and ES Modules (ESM) in JavaScriptLet's understand what module is! In the world of JavaScript, modules play a crucial role in organizing and structuring our code. They allow us to break down complex applications into manageable pieces, promote reusability, and enhance maintainability...Discuss·10 likes·31 readsCommonjs Modules
Parveen Kumarparveenpal.hashnode.dev·Aug 23, 2024What is the difference between .js, .cjs and .mjs file extensionCJS, MJS, and .JS are file extensions used to denote different types of JavaScript files. Here's the difference between them: .JS (JavaScript): The .js extension is the most common file extension for JavaScript files. It is used to indicate that a f...Discuss·27 readsmjs