---
title: "Discussion on \"How different is CommonJs require from ES6 import?\" | Hashnode"
description: "Discussion on \"How different is CommonJs require from ES6 import?\". CommonJs is the original and default module system of Node.js which uses require and module.exports."
url: "https://hashnode.com/posts/how-different-is-commonjs-require-from-es6-import/62cdd51f24f934c8169858aa"
---

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

Discussion

# [How different is CommonJs require from ES6 import?](https://blog.mwanje.me/how-different-is-commonjs-require-from-es6-import?utm_source=hashnode&utm_medium=feed)

CommonJs is the original and default module system of Node.js which uses require and module.exports.

Aug 28, 2021 · 2 min read · blog.mwanje.me  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#commonjs](https://hashnode.com/tag/commonjs)
-   [#require](https://hashnode.com/tag/require)
-   [#import](https://hashnode.com/tag/import)

## Written by

[Mike Mwanje](https://hashnode.com/@mikemwanje)

@mikemwanje

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
