npm.io
0.4.4 • Published 5 years ago

@ungap/global-this

Licence
ISC
Version
0.4.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
134

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.

Keywords