Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nevoland/get-global

🌍 Returns the global object regardless of the environment.
https://github.com/nevoland/get-global

Last synced: about 12 hours ago
JSON representation

🌍 Returns the global object regardless of the environment.

Awesome Lists containing this project

README

        

# Get global

🌍 Returns the global object regardless of the environment.

## Usage

The main function is default exported from the main entry-point through an ES6 module:

```js
import { getGlobal } from "@nevoland/get-global";

const { setTimeout } = getGlobal();
```

## Installation

Install with the [Node Package Manager](https://www.npmjs.com/package/@nevoland/get-global):

```bash
npm install @nevoland/get-global
```

## Documentation

Documentation is generated [here](doc/README.md).