tiny globalThis
shim.
via pnpm
, yarn
or npm
:
pnpm add @m9ch/global-this
# or
yarn add @m9ch/global-this
# or
npm i -S @m9ch/global-this
import { globaThis } from '@m9ch/global-this'
globalThis.window // Window
MIT © Mitscherlich
tiny `globalThis` shim
tiny globalThis
shim.
via pnpm
, yarn
or npm
:
pnpm add @m9ch/global-this
# or
yarn add @m9ch/global-this
# or
npm i -S @m9ch/global-this
import { globaThis } from '@m9ch/global-this'
globalThis.window // Window
MIT © Mitscherlich