# global

> Require global variables

Latest version **4.4.0** (published 2019-06-10) · MIT license · 0 weekly downloads

> **Native alternative:** globalThis — Use native JavaScript (Node 12.0.0+) (https://developer.mozilla.orgGlobal_Objects/globalThis)

## Install

```sh
npm install global
pnpm add global
yarn add global
bun add global
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.4.0 |
| Published | 2019-06-10 |
| First published | 2011-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 254 |
| Author | Raynos |
| Maintainers | jerrysievert, mattesch, raynos |

## Links

- npm: https://www.npmjs.com/package/global
- Repository: https://github.com/Raynos/global
- Issues: https://github.com/Raynos/global/issues
- npm.io page: https://npm.io/package/global

## Dependencies (2)

- [process](https://npm.io/package/process.md) ^0.11.10
- [min-document](https://npm.io/package/min-document.md) ^2.19.0

## Recent versions

- 4.4.0 (latest) — 2019-06-10
- 4.3.2 — 2017-04-19
- 4.3.1 — 2016-09-22
- 4.3.0 — 2014-10-13
- 4.2.1 — 2014-05-03
- 4.2.0 — 2014-05-03
- 4.1.0 — 2014-05-03
- 4.0.1 — 2014-04-24
- 4.0.0 — 2014-04-23
- 3.0.2 — 2014-04-14
- 3.0.1 — 2014-04-07
- 3.0.0 — 2014-03-26
- 2.0.7 — 2013-05-31
- 2.0.6 — 2013-05-31
- 2.0.5 — 2013-05-27
- … 6 more at https://npm.io/package/global/versions

## README

# global

<!-- [![build status][1]][2]

[![browser support][3]][4] -->

Require global variables

## Example

```js
var global = require("global")
var document = require("global/document")
var window = require("global/window")
```

## Installation

`npm install global`

## Contributors

 - Raynos

## MIT Licenced

  [1]: https://secure.travis-ci.org/Colingo/global.png
  [2]: http://travis-ci.org/Colingo/global
  [3]: http://ci.testling.com/Colingo/global.png
  [4]: http://ci.testling.com/Colingo/global

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