---
title: "Discussion on \"CommonJs Vs EcmaScript Modules\" | Hashnode"
description: "Discussion on \"CommonJs Vs EcmaScript Modules\". Basic to advance guide to understand CJS and ESM"
url: "https://hashnode.com/posts/cjs-vs-esm/69bae5fe8c55d6eefb45dd2b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CommonJs Vs EcmaScript Modules](https://blogs.satpal.cloud/cjs-vs-esm?utm_source=hashnode&utm_medium=feed)

Basic to advance guide to understand CJS and ESM

Mar 18 · 8 min read · blogs.satpal.cloud  
Read the article

-   [#commonjs](https://hashnode.com/tag/commonjs)
-   [#require](https://hashnode.com/tag/require)
-   [#export](https://hashnode.com/tag/export)
-   [#import](https://hashnode.com/tag/import)
-   [#esm](https://hashnode.com/tag/esm)
-   [#cjs](https://hashnode.com/tag/cjs)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)

## Written by

[Satpalsinh Rana](https://hashnode.com/@satpalsinh)

@satpalsinh · Ahmedabad, India

  
[View profile](https://hashnode.com/@satpalsinh)

while(alive) { code(); }

Frontend Developer 💻 | Fueled by curiosity and Tea ☕ | Always learning and exploring new technologies.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
