---
title: "Discussion on \"Modules Export and Import in Js\" | Hashnode"
description: "Discussion on \"Modules Export and Import in Js\". In js modules play important role specially when a project has large files it is difficult to manage the code and separation of code so import and export helps to manage.\nWhy modules are needed?\nWhen"
url: "https://hashnode.com/posts/modules-export-and-import-in-js/69e1e2c09eff9dc9260a82c5"
---

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

Discussion

# [Modules Export and Import in Js](https://happysinghnegi.hashnode.dev/modules-export-and-import-in-js?utm_source=hashnode&utm_medium=feed)

In js modules play important role specially when a project has large files it is difficult to manage the code and separation of code so import and export helps to manage. Why modules are needed? When

Apr 17 · 3 min read · happysinghnegi.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#modules](https://hashnode.com/tag/modules)
-   [#import](https://hashnode.com/tag/import)
-   [#export](https://hashnode.com/tag/export)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)

## Written by

[Happy singh negi](https://hashnode.com/@happysinghnegi)

@happysinghnegi

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
