web-features explorer

JavaScript modules

Widely available since 2020-11-09 (baseline high)

JavaScript modules allow code to be organized into reusable units. Modules use import to load other modules and export to declare what is available to import from other modules. In HTML, modules are loaded with <script type="module">.

Compatibility (view on caniuse.com)

BCD data