---
title: "#javascript-importexport articles | Hashnode"
description: "Explore 7 articles tagged #javascript-importexport on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/javascript-importexport"
---

Tag

# #javascript-importexport

7 posts · 0 followers

[Santra](https://hashnode.com/@Santra) · [May 7](https://hashnode.com/posts/javascript-modules-import-and-export-explained/69fccc216d4d76c5a8050e64)

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

For a long time, JavaScript had no official way to split code across files. Everything loaded into the same global scope, variables collided, and the only real organization strategy was hoping nobody

7 min read · [blog-santra.hashnode.dev](https://blog-santra.hashnode.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

[shyamendrahazracodes](https://hashnode.com/@shyamhzdotdev) · [May 7](https://hashnode.com/posts/javascript-modules-import-and-export-explained/69fc46f33d9a9c101981a08f)

### [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

5 min read · [blog.shyamhz.dev](https://blog.shyamhz.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

[Adarsh Pandey](https://hashnode.com/@Adarshbytes) · [Apr 14](https://hashnode.com/posts/javascript-modules-explained-import-export-made-simple/69de507d345b86c2e050c0ee)

### [JavaScript Modules Explained: Import & Export Made Simple](https://javascriptmodulesimportandexportexplainedineasyway.hashnode.dev/javascript-modules-explained-import-export-made-simple?utm_source=hashnode&utm_medium=feed)

Why do we even need modules? Let’s start with a real problem. Imagine you’re building a project and everything is inside one single JavaScript file: function calculateTotal() { ... } function sendEmai

4 min read · [javascriptmodulesimportandexportexplainedineasyway.hashnode.dev](https://javascriptmodulesimportandexportexplainedineasyway.hashnode.dev/javascript-modules-explained-import-export-made-simple?utm_source=hashnode&utm_medium=feed)

[rajashree hungund](https://hashnode.com/@rajashree516) · [Mar 17](https://hashnode.com/posts/javascript-modules-import-and-export-explained/69b9368ec22d3eeb8a9c5a03)

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

When we start writing JavaScript, we usually put everything in one file. But as the project grows, the code becomes harder to manage and understand. To solve this problem, JavaScript provides modules,

4 min read · [promises-with-raj.hashnode.dev](https://promises-with-raj.hashnode.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

[Anish Tilloo](https://hashnode.com/@anishtilloo) · [Sep 20, 2025](https://hashnode.com/posts/debugging-must-use-import-to-load-es-module-in-nodejs-typescript/68ce2de5ce1273886688e2fc)

### [Debugging “Must use import to load ES Module” in Node.js + TypeScript](https://debugjs-1.hashnode.dev/debugging-must-use-import-to-load-es-module-in-nodejs-typescript?utm_source=hashnode&utm_medium=feed)

Learn how to fix the ‘Must use import to load ES Module’ error in Node.js and TypeScript. Understand the difference between CommonJS and ESM, and configure

4 min read · [debugjs-1.hashnode.dev](https://debugjs-1.hashnode.dev/debugging-must-use-import-to-load-es-module-in-nodejs-typescript?utm_source=hashnode&utm_medium=feed)

[Stanley Owarieta](https://hashnode.com/@Stanley24) · [Nov 4, 2024](https://hashnode.com/posts/day-15-javascript-modules-mastering-code-organization/6728100e6abc70cb1d2d656b)

### [Day 15: JavaScript Modules - Mastering Code Organization](https://day3-of-30days-js-blog.hashnode.dev/day-15-javascript-modules-mastering-code-organization?utm_source=hashnode&utm_medium=feed)

Explore how JavaScript Modules streamline code organization and efficiency on Day 15 of our JavaScript & React Challenge.

3 min read · [day3-of-30days-js-blog.hashnode.dev](https://day3-of-30days-js-blog.hashnode.dev/day-15-javascript-modules-mastering-code-organization?utm_source=hashnode&utm_medium=feed)
