---
id: "js-modules"
kind: "web-feature"
canonical: "https://timetostable.com/feature/js-modules"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# JavaScript modules (`js-modules`)

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">.

- **Group**: JavaScript modules
- **Baseline**: Widely Available
- **Newly Available Date**: 2018-05-09
- **Widely Available Date**: 2020-11-09
- **Specification**: https://html.spec.whatwg.org/multipage/webappapis.html#javascript-module-script
- **Constituent BCD keys**: 15

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 61 | 2017-09-05 |
| Chrome Android | 61 | 2017-09-05 |
| Safari | 11 | 2017-09-19 |
| Safari on iOS | 11 | 2017-09-19 |
| Edge | 16 | 2017-10-17 |
| Firefox | 60 | 2018-05-09 |
| Firefox for Android | 60 | 2018-05-09 |

