About 244,000 results
Open links in new tab
  1. JavaScript modules - JavaScript | MDN - MDN Web Docs

    Nov 3, 2025 · To demonstrate usage of modules, we've created a set of examples that you can find on GitHub. These examples demonstrate a set of modules that create a <canvas> …

  2. JavaScript Modules - W3Schools

    Modules promote reusability by enabling the export of functions, variables, or objects from one file and their import into other files or projects. This eliminates redundant code and fosters a more …

  3. Modules, introduction - The Modern JavaScript Tutorial

    Oct 14, 2022 · As modules support special keywords and features, we must tell the browser that a script should be treated as a module, by using the attribute <script type="module">.

  4. JavaScript Modules – Explained with Examples

    Jul 28, 2021 · A module in JavaScript is just a file containing related code. In JavaScript, we use the import and export keywords to share and receive functionalities respectively across …

  5. JavaScript Modules - GeeksforGeeks

    Jul 31, 2025 · A JavaScript module is a small piece of code that can be used in different parts of your program. It helps break down big projects into smaller, more manageable sections, each …

  6. Understanding JavaScript Modules: From Basics to Common Pitfalls

    Apr 3, 2025 · Modules enhance code readability, reusability, maintainability, and manageability. By dividing the code into smaller chunks, each focusing on a specific feature, modules make …

  7. An Introduction to JavaScript Modules: When and How to Use …

    Modules allow developers to break down large codebases into smaller, more manageable pieces, making the code easier to understand, maintain, and reuse. In this blog post, we’ll explore the …

  8. JavaScript Modules – An In-Depth Practical Guide - TheLinuxCode

    Dec 11, 2024 · Leveraging modules effectively requires knowledge of both syntax mechanics and higher level architectural best practices. I‘m hopeful this deep dive has provided helpful holistic …

  9. Understanding JavaScript Modules: A Comprehensive Guide for …

    Jun 3, 2025 · This guide will walk you through everything you need to know about JavaScript modules, from basic syntax to advanced patterns, with practical examples to sharpen your skills.

  10. JavaScript Modules - Explained With Examples - ExpertBeacon

    Aug 30, 2024 · In this comprehensive guide, we‘ll explore what JavaScript modules are, why they‘re useful, how to work with exports and imports by walking through approachable …