npm.io
26.8.0 • Published 3 months ago

@haxtheweb/es-global-bridge

Licence
Apache-2.0
Version
26.8.0
Deps
0
Size
26 kB
Vulns
0
Weekly
0
Stars
280

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.

Keywords