Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nevoland/get-global
- Owner: nevoland
- Created: 2023-10-13T09:43:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T08:01:53.000Z (11 months ago)
- Last Synced: 2024-04-26T04:03:01.072Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 338 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).