# @ungap/global-this

> A cross engine globalThis.

Latest version **0.4.4** (published 2021-01-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ungap/global-this
pnpm add @ungap/global-this
yarn add @ungap/global-this
bun add @ungap/global-this
```

## Health

**Score 28/100 (F)** — status: abandoned.

Positive: has types package; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.4 |
| Published | 2021-01-20 |
| First published | 2019-04-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | separate (@types/ungap__global-this) |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 134 |
| Author | Andrea Giammarchi |
| Maintainers | webreflection |
| Keywords | global, this |

## Links

- npm: https://www.npmjs.com/package/@ungap/global-this
- Repository: https://github.com/ungap/global-this
- Homepage: https://github.com/ungap/global-this#readme
- Issues: https://github.com/ungap/global-this/issues
- npm.io page: https://npm.io/package/@ungap/global-this

## Recent versions

- 0.4.4 (latest) — 2021-01-20
- 0.4.3 — 2020-12-12
- 0.4.2 — 2020-12-04
- 0.4.1 — 2020-11-06
- 0.4.0 — 2020-05-02
- 0.3.1 — 2019-04-18
- 0.3.0 — 2019-04-18
- 0.2.2 — 2019-04-18
- 0.2.1 — 2019-04-18
- 0.2.0 — 2019-04-18
- 0.1.0 — 2019-04-18

## README

# 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.

---
_Source: https://npm.io/package/@ungap/global-this · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
