@ungap/global-this
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/ungap__global-this package

0.4.4 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @ungap/global-this

    Weekly Downloads

    52,940

    Version

    0.4.4

    License

    ISC

    Unpacked Size

    3.52 kB

    Total Files

    8

    Last publish

    Collaborators

    • webreflection