René's URL Explorer Experiment


Title: Модули JavaScript - JavaScript | MDN

Open Graph Title: Модули JavaScript - JavaScript | MDN

Description: Это руководство содержит всю необходимую информацию для начала работы с модулями JavaScript.

Open Graph Description: Это руководство содержит всю необходимую информацию для начала работы с модулями JavaScript.

Opengraph URL: https://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules

direct link

Domain: developer.mozilla.org

og:localeru
og:imagehttps://developer.mozilla.org/mdn-social-share.d893525a4fb5fb1f67a2.png
og:image:typeimage/png
og:image:height1080
og:image:width1920
og:image:altThe MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.
og:site_nameMDN Web Docs
twitter:cardsummary_large_image
twitter:creatorMozDevNet
position4

Links:

Skip to main contenthttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#content
Skip to searchhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#search
MDN https://developer.mozilla.org/ru/
HTML: Markup languagehttps://developer.mozilla.org/ru/docs/Web/HTML
Elementshttps://developer.mozilla.org/ru/docs/Web/HTML/Reference/Elements
Global attributeshttps://developer.mozilla.org/ru/docs/Web/HTML/Reference/Global_attributes
Attributeshttps://developer.mozilla.org/ru/docs/Web/HTML/Reference/Attributes
See all…https://developer.mozilla.org/ru/docs/Web/HTML/Reference
Responsive imageshttps://developer.mozilla.org/ru/docs/Web/HTML/Guides/Responsive_images
HTML cheatsheethttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Cheatsheet
Date & time formatshttps://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Date_and_time_formats
See all…https://developer.mozilla.org/en-US/docs/Web/HTML/Guides
SVGhttps://developer.mozilla.org/ru/docs/Web/SVG
MathMLhttps://developer.mozilla.org/ru/docs/Web/MathML
XMLhttps://developer.mozilla.org/ru/docs/Web/XML
CSS: Styling languagehttps://developer.mozilla.org/ru/docs/Web/CSS
Propertieshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties
Selectorshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors
At-ruleshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules
Valueshttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values
See all…https://developer.mozilla.org/ru/docs/Web/CSS/Reference
Box modelhttps://developer.mozilla.org/ru/docs/Web/CSS/Guides/Box_model/Introduction
Animationshttps://developer.mozilla.org/ru/docs/Web/CSS/Guides/Animations/Using
Flexboxhttps://developer.mozilla.org/ru/docs/Web/CSS/Guides/Flexible_box_layout/Basic_concepts
Colorshttps://developer.mozilla.org/ru/docs/Web/CSS/Guides/Colors/Applying_color
See all…https://developer.mozilla.org/en-US/docs/Web/CSS/Guides
Column layoutshttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Column_layouts
Centering an elementhttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Center_an_element
Card componenthttps://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Card
See all…https://developer.mozilla.org/ru/docs/Web/CSS/How_to/Layout_cookbook
JavaScript: Scripting languagehttps://developer.mozilla.org/ru/docs/Web/JavaScript
Standard built-in objectshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects
Expressions & operatorshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Operators
Statements & declarationshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Statements
Functionshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Functions
See all…https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference
Control flow & error handinghttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Control_flow_and_error_handling
Loops and iterationhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Loops_and_iteration
Working with objectshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Working_with_objects
Using classeshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_classes
See all…https://developer.mozilla.org/ru/docs/Web/JavaScript/Guide
Web APIs: Programming interfaceshttps://developer.mozilla.org/ru/docs/Web/API
File system APIhttps://developer.mozilla.org/ru/docs/Web/API/File_System_API
Fetch APIhttps://developer.mozilla.org/ru/docs/Web/API/Fetch_API
Geolocation APIhttps://developer.mozilla.org/ru/docs/Web/API/Geolocation_API
HTML DOM APIhttps://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API
Push APIhttps://developer.mozilla.org/ru/docs/Web/API/Push_API
Service worker APIhttps://developer.mozilla.org/ru/docs/Web/API/Service_Worker_API
See all…https://developer.mozilla.org/ru/docs/Web/API
Using the Web animation APIhttps://developer.mozilla.org/ru/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API
Using the Fetch APIhttps://developer.mozilla.org/ru/docs/Web/API/Fetch_API/Using_Fetch
Working with the History APIhttps://developer.mozilla.org/ru/docs/Web/API/History_API/Working_with_the_History_API
Using the Web speech APIhttps://developer.mozilla.org/ru/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
Using web workershttps://developer.mozilla.org/ru/docs/Web/API/Web_Workers_API/Using_web_workers
All web technologyhttps://developer.mozilla.org/ru/docs/Web
Accessibilityhttps://developer.mozilla.org/ru/docs/Web/Accessibility
HTTPhttps://developer.mozilla.org/ru/docs/Web/HTTP
URIhttps://developer.mozilla.org/ru/docs/Web/URI
Web extensionshttps://developer.mozilla.org/ru/docs/Mozilla/Add-ons/WebExtensions
WebAssemblyhttps://developer.mozilla.org/ru/docs/WebAssembly
WebDriverhttps://developer.mozilla.org/en-US/docs/Web/WebDriver
See all…https://developer.mozilla.org/ru/docs/Web
Mediahttps://developer.mozilla.org/en-US/docs/Web/Media
Performancehttps://developer.mozilla.org/ru/docs/Web/Performance
Privacyhttps://developer.mozilla.org/en-US/docs/Web/Privacy
Securityhttps://developer.mozilla.org/ru/docs/Web/Security
Progressive web appshttps://developer.mozilla.org/ru/docs/Web/Progressive_web_apps
Learn web developmenthttps://developer.mozilla.org/ru/docs/Learn_web_development
Getting started moduleshttps://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started
Core moduleshttps://developer.mozilla.org/en-US/docs/Learn_web_development/Core
MDN Curriculumhttps://developer.mozilla.org/en-US/curriculum/
Structuring content with HTML modulehttps://developer.mozilla.org/ru/docs/Learn_web_development/Core/Structuring_content
CSS styling basics modulehttps://developer.mozilla.org/ru/docs/Learn_web_development/Core/Styling_basics
CSS layout modulehttps://developer.mozilla.org/ru/docs/Learn_web_development/Core/CSS_layout
Dynamic scripting with JavaScript modulehttps://developer.mozilla.org/ru/docs/Learn_web_development/Core/Scripting
Playgroundhttps://developer.mozilla.org/en-US/play
HTTP Observatoryhttps://developer.mozilla.org/en-US/observatory
Border-image generatorhttps://developer.mozilla.org/ru/docs/Web/CSS/CSS_backgrounds_and_borders/Border-image_generator
Border-radius generatorhttps://developer.mozilla.org/ru/docs/Web/CSS/CSS_backgrounds_and_borders/Border-radius_generator
Box-shadow generatorhttps://developer.mozilla.org/ru/docs/Web/CSS/CSS_backgrounds_and_borders/Box-shadow_generator
Color format converterhttps://developer.mozilla.org/ru/docs/Web/CSS/CSS_colors/Color_format_converter
Color mixerhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_colors/Color_mixer
Shape generatorhttps://developer.mozilla.org/en-US/docs/Web/CSS/CSS_shapes/Shape_generator
About MDNhttps://developer.mozilla.org/en-US/about
Advertise with ushttps://developer.mozilla.org/en-US/advertising
Communityhttps://developer.mozilla.org/en-US/community
MDN on GitHubhttps://github.com/mdn
Bloghttps://developer.mozilla.org/en-US/blog/
Веб-технологии для разработчиковhttps://developer.mozilla.org/ru/docs/Web
JavaScripthttps://developer.mozilla.org/ru/docs/Web/JavaScript
Руководство JavaScripthttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide
Модули JavaScripthttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules
https://github.com/orgs/mdn/discussions/739
https://developer.mozilla.org/de/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/es/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/fr/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/ko/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Modules
Learn more and join the MDN Web Docs community.https://developer.mozilla.org/en-US/docs/MDN/Community/Contributing/Translated_content#active_locales
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
Назад https://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Meta_programming
Модули: история вопросаhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#модули_история_вопроса
Совместимость с браузерамиhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#совместимость_с_браузерами
Пример использования модулейhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#пример_использования_модулей
Базовая структура примераhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#базовая_структура_примера
Взгляд со стороны — .mjs против .jshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#взгляд_со_стороны_—_.mjs_против_.js
Экспорт функциональности модуляhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#экспорт_функциональности_модуля
Импорт функциональности в ваш скриптhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#импорт_функциональности_в_ваш_скрипт
Добавление модуля на HTML-страницуhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#добавление_модуля_на_html-страницу
Другие отличия модулей от обычных скриптовhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#другие_отличия_модулей_от_обычных_скриптов
Экспорт по умолчанию против именованного экспортаhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#экспорт_по_умолчанию_против_именованного_экспорта
Как избежать конфликтов имёнhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#как_избежать_конфликтов_имён
Переименование импорта и экспортаhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#переименование_импорта_и_экспорта
Создание объекта модуляhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#создание_объекта_модуля
Модули и классыhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#модули_и_классы
Агрегирующие модулиhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#агрегирующие_модули
Динамическая загрузка модулейhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#динамическая_загрузка_модулей
Устранение проблемhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#устранение_проблем
Смотрите такжеhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#смотрите_также
Модули: история вопросаhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#модули_история_вопроса
Node.jshttps://developer.mozilla.org/ru/docs/Glossary/Node.js
CommonJShttps://en.wikipedia.org/wiki/CommonJS
AMDhttps://github.com/amdjs/amdjs-api/blob/master/AMD.md
RequireJShttps://requirejs.org/
Webpackhttps://webpack.github.io/
Babelhttps://babeljs.io/
importhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Statements/import
exporthttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Statements/export
Совместимость с браузерамиhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#совместимость_с_браузерами
Пример использования модулейhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#пример_использования_модулей
простой набор примеровhttps://github.com/mdn/js-examples/tree/master/module-examples
https://developer.mozilla.org/ru/docs/Web/HTML/Reference/Elements/canvas
Базовая структура примераhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#базовая_структура_примера
basic-moduleshttps://github.com/mdn/js-examples/tree/master/module-examples/basic-modules
https://developer.mozilla.org/ru/docs/Web/HTML/Reference/Elements/div
Взгляд со стороны — .mjs против .jshttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#взгляд_со_стороны_—_.mjs_против_.js
в документации движка V8 используется .mjshttps://v8.dev/features/modules#mjs
Node.jshttps://nodejs.org/api/esm.html#esm_enabling
Babelhttps://babeljs.io/docs/en/options#sourcetype
GitHub Pageshttps://pages.github.com/
http-серверhttps://github.com/http-party/http-server#readme
Content-Typehttps://developer.mozilla.org/ru/docs/Web/HTTP/Reference/Headers/Content-Type
TypeScripthttps://www.typescriptlang.org/
Экспорт функциональности модуляhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#экспорт_функциональности_модуля
exporthttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Statements/export
Импорт функциональности в ваш скриптhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#импорт_функциональности_в_ваш_скрипт
importhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Statements/import
main.jshttps://github.com/mdn/js-examples/blob/master/module-examples/basic-modules/main.js
Добавление модуля на HTML-страницуhttps://developer.mozilla.org/ru/docs/Web/JavaScript/Guide/Modules#добавление_модуля_на_html-страницу