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

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

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

- **Group**: JavaScript modules
- **Baseline**: Newly Available
- **Newly Available Date**: 2026-05-05
- **Specification**: https://html.spec.whatwg.org/multipage/workers.html#shared-workers-and-the-sharedworker-interface:dom-sharedworker-2
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 80 | 2020-02-04 |
| Edge | 80 | 2020-02-07 |
| Safari | 16 | 2022-09-12 |
| Safari on iOS | 16 | 2022-09-12 |
| Firefox | 114 | 2023-06-06 |
| Firefox for Android | 114 | 2023-06-06 |
| Chrome Android | 148 | 2026-05-05 |

