globals

Global identifiers from different JavaScript environments

npm install globals
2 downloads in the last week
5 downloads in the last month

globals Build Status

Global identifiers from different JavaScript environments

Extracted from JSHint and ESLint and merged.

It's just a JSON file, so use it in whatever environment you like.

Install

Download manually or with a package-manager.

npm

npm install --save globals

Bower

bower install --save globals

Component

component install sindresorhus/globals

Example

var globals = require('globals');
console.log(globals.browser);
/*
{
    addEventListener: false,
    applicationCache: false,
    ArrayBuffer: false,
    atob: false,
    ...
}
*/

License

MIT © Sindre Sorhus

npm loves you