---
title: "Discussion on \"Import-Export in JavaScript, The Easiest Guide\" | Hashnode"
description: "Discussion on \"Import-Export in JavaScript, The Easiest Guide\". Learn how to export and import modules in js using commonJs and ES6."
url: "https://hashnode.com/posts/import-export-in-javascript-the-easiest-guide/646469eeef5d2a7fbaa7805b"
---

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

Discussion

# [Import-Export in JavaScript, The Easiest Guide](https://blog.priyanshudev.tech/import-export-in-javascript-the-easiest-guide?utm_source=hashnode&utm_medium=feed)

Learn how to export and import modules in js using commonJs and ES6.

May 17, 2023 · 3 min read · blog.priyanshudev.tech  
Read the article

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

## Written by

[Priyanshu Agrawal](https://hashnode.com/@PriyanshuAgrawal)

@PriyanshuAgrawal · Ranchi, Jharkhand, India

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

A techie, working as a full stack developer, always learning new things and sharing with you gyus!!

I am a Techie, working as full stack developer, always learning new things and documenting and sharing it in the process.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
