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

# JavaScript modules in workers (`js-modules-workers`)

The Worker() constructor accepts { type: "module" } to load scripts that use import and export. Also known as ECMAScript modules or ESM in workers.

- **Group**: JavaScript modules
- **Baseline**: Widely Available
- **Newly Available Date**: 2023-06-06
- **Widely Available Date**: 2025-12-06
- **Specification**: https://html.spec.whatwg.org/multipage/workers.html#dom-worker-dev
- **Constituent BCD keys**: 4

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 80 | 2020-02-04 |
| Chrome Android | 80 | 2020-02-04 |
| Edge | 80 | 2020-02-07 |
| Safari | 15 | 2021-09-20 |
| Safari on iOS | 15 | 2021-09-20 |
| Firefox | 114 | 2023-06-06 |
| Firefox for Android | 114 | 2023-06-06 |

