---
title: "Discussion on \"ES6 Modules\" | Hashnode"
description: "Discussion on \"ES6 Modules\". When we are building applications there are 2 options\n\nTo write all code in single file\nTo divide the code in different sections and reuse them\n\nIf your project codebase is very small and it might not grow in near future, then you are free choose bet..."
url: "https://hashnode.com/posts/es6-modules/61ec0db2a12088017fbe9a43"
---

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

Discussion

# [ES6 Modules](https://myblog.ashwinikemshetty.com/es6-modules?utm_source=hashnode&utm_medium=feed)

When we are building applications there are 2 options To write all code in single file To divide the code in different sections and reuse them If your project codebase is very small and it might not grow in near future, then you are free choose bet...

Jan 22, 2022 · 3 min read · myblog.ashwinikemshetty.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#javascript-modules](https://hashnode.com/tag/javascript-modules)

## Written by

[Ashwini Kemshetty](https://hashnode.com/@ashwinikemshetty)

@ashwinikemshetty

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

## Responses 1

Markdown supported · ⌘↵ to post

[Vishnu S R](https://hashnode.com/@vishnusr)

[Jan 22, 2022](https://hashnode.com/posts/es6-modules/61ec0db2a12088017fbe9a43/comment/61ec3e55a12088017fbea235)

Thanks for sharing !
