Get-Win
Simple utility to get the current global
context anywhere. There are many of these however they either don't account for all environments and all settings (IE no eval) or do not support older browsers.
Also this module exposes the proper typescript any
type for the global.
Installation
npm install get-win
Example
const window = window
Contributions
- Use
npm test
to build and run tests.
Please feel free to create a PR!