# @haxtheweb/es-global-bridge

> A very simple class to help bridge global scoped code with ES Modules

Latest version **26.8.0** (published 2026-08-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @haxtheweb/es-global-bridge
pnpm add @haxtheweb/es-global-bridge
yarn add @haxtheweb/es-global-bridge
bun add @haxtheweb/es-global-bridge
```

## Health

**Score 55/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 26.8.0 |
| Published | 2026-08-14 |
| First published | 2024-05-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 280 |
| Author | haxtheweb |
| Maintainers | btopro |
| Keywords | webcomponents, esm, compatibility, html |

## Links

- npm: https://www.npmjs.com/package/@haxtheweb/es-global-bridge
- Repository: https://github.com/haxtheweb/webcomponents
- Homepage: https://github.com/haxtheweb/webcomponents#readme
- Issues: https://github.com/haxtheweb/webcomponents/issues
- npm.io page: https://npm.io/package/@haxtheweb/es-global-bridge

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 26.8.0 (latest) — 2026-08-14
- 26.0.0 — 2026-05-12
- 25.0.0 — 2026-01-09
- 11.0.0 — 2025-06-06
- 10.0.0 — 2024-12-20
- 9.0.22 — 2024-12-05
- 9.0.18 — 2024-11-13
- 9.0.17 — 2024-11-05
- 9.0.7 — 2024-10-18
- 9.0.6 — 2024-08-22
- 9.0.2 — 2024-07-24
- 9.0.1 — 2024-07-22
- 9.0.0 — 2024-07-12
- 9.0.0-alpha.0 — 2024-05-23

## README

# ES Global bridge

This project helps bridge legacy, non-ESM code with modern ESM code. It generates a Promise for adding a script tag to the page. Then when it's resolved (loaded) it generates an event that can be listened for to make sure that the global classes in that file resolve correctly.

---
_Source: https://npm.io/package/@haxtheweb/es-global-bridge · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
