---
title: "Discussion on \"JavaScript Modules: Import and Export Explained\" | Hashnode"
description: "Discussion on \"JavaScript Modules: Import and Export Explained\". Why Modules Are Needed\nWhen building applications, code grows larger over time. Keeping all JavaScript code in a single file makes it:\n\nDifficult to navigate and read\n\nHarder to debug and maintain\n\nPr"
url: "https://hashnode.com/posts/javascript-modules-import-and-export-explained/69fc46f33d9a9c101981a08f"
---

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

Discussion

# [JavaScript Modules: Import and Export Explained](https://blog.shyamhz.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

Why Modules Are Needed When building applications, code grows larger over time. Keeping all JavaScript code in a single file makes it: Difficult to navigate and read Harder to debug and maintain Pr

May 7 · 5 min read · blog.shyamhz.dev  
Read the article

-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chai-aur-javasc](https://hashnode.com/tag/chai-aur-javasc)
-   [#javascript-importexport](https://hashnode.com/tag/javascript-importexport)
-   [#javascript-modular-code](https://hashnode.com/tag/javascript-modular-code)
-   [#javascript-modules](https://hashnode.com/tag/javascript-modules)

## Written by

[shyamendrahazracodes](https://hashnode.com/@shyamhzdotdev)

@shyamhzdotdev

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

Just a stubborn coder

I write code , that run in the browser and someone else's machine. And sometimes I also write articles

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
