Gets the current window/global object in any runtime.
npm install get-winSimple 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.
``console`
npm install get-win
`javascript
import { get } from 'get-win'
const window = get()
window.addEventListener(...)
`
* Use npm test` to build and run tests.
Please feel free to create a PR!