---
title: "#commonjs-modules articles | Hashnode"
description: "Explore 3 articles tagged #commonjs-modules on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/commonjs-modules"
---

Tag

# #commonjs-modules

3 posts · 0 followers

[Arman Radmanesh](https://hashnode.com/@Radmanesh) · [Feb 27, 2025](https://hashnode.com/posts/writing-a-javascript-module-that-works-in-both-commonjs-and-esm/67bfda8d99a5866c2e12517c)

### [Writing a JavaScript Module That Works in Both CommonJS and ESM](https://radmanesh.hashnode.dev/writing-a-javascript-module-that-works-in-both-commonjs-and-esm?utm_source=hashnode&utm_medium=feed)

Learn how to create a JavaScript module that supports both CommonJS and ESM, ensuring compatibility and longevity for your NPM packages

3 min read · [radmanesh.hashnode.dev](https://radmanesh.hashnode.dev/writing-a-javascript-module-that-works-in-both-commonjs-and-esm?utm_source=hashnode&utm_medium=feed)

[Saugat Ghimire](https://hashnode.com/@saugatify) · [Feb 12, 2025](https://hashnode.com/posts/modules-in-javascript/67acaae4c22e7f675a4f5dc6)

### [Modules in JavaScript](https://saugatblog.hashnode.dev/modules-in-javascript?utm_source=hashnode&utm_medium=feed)

Learn about JavaScript modules, ES Module (ESM), and CommonJS, including import/export syntax and default vs named exports

2 min read · [saugatblog.hashnode.dev](https://saugatblog.hashnode.dev/modules-in-javascript?utm_source=hashnode&utm_medium=feed)

[Akriti](https://hashnode.com/@ThisIsAkriti) · [Aug 31, 2024](https://hashnode.com/posts/understanding-commonjs-cjs-and-es-modules-esm-in-javascript/66d2c650886e51326a30751b)

### [Understanding CommonJS (CJS) and ES Modules (ESM) in JavaScript](https://risingdevelopers.dev/understanding-commonjs-cjs-and-es-modules-esm-in-javascript?utm_source=hashnode&utm_medium=feed)

Understanding Modules in simple easy way. Common Js modules and ES modules.

2 min read · [risingdevelopers.dev](https://risingdevelopers.dev/understanding-commonjs-cjs-and-es-modules-esm-in-javascript?utm_source=hashnode&utm_medium=feed)
