@ungap/global-this

A cross engine globalThis

Showing:

Popularity

Downloads/wk

198K

GitHub Stars

95

Maintenance

Last Commit

8mos ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

0.3KB

License

ISC

Type Definitions

Tree-Shakeable

Yes?

Categories

Readme

globalThis

A cross engine globalThis, fully inspired by https://mathiasbynens.be/notes/globalthis

  • ESM as import '@ungap/global-this'
  • CJS as require('@ungap/global-this');
  • JS as <script src="//unpkg.com/@ungap/global-this"></script>

Compatible with IE8 and above, plus all other engines and browsers.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100