GithubHelp home page GithubHelp logo

kryndex / globals Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sindresorhus/globals

0.0 1.0 0.0 128 KB

Global identifiers from different JavaScript environments

License: MIT License

Makefile 41.97% JavaScript 58.03%

globals's Introduction

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.

This module no longer accepts new environments. If you need it for ESLint, just create a plugin.

Install

$ npm install --save globals

Usage

var globals = require('globals');

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

Each global is given a value of true or false. A value of true indicates that the variable may be overwritten. A value of false indicates that the variable should be considered read-only. This information is used by static analysis tools to flag incorrect behavior. We assume all variables should be false unless we hear otherwise.

License

MIT © Sindre Sorhus

globals's People

Contributors

aaronabramov avatar alexanderkozhevin avatar amilajack avatar atkinchris avatar benoitzugmeyer avatar boneskull avatar bwinton avatar byk avatar clessg avatar cpojer avatar dar5hak avatar davidmccabe avatar dgraham avatar dominicbarnes avatar es128 avatar feross avatar james1x0 avatar jeffposnick avatar jmalonzo avatar johanbrook avatar kevva avatar kfix avatar nzakas avatar silverwind avatar sindresorhus avatar userpixel avatar valorkin avatar whitneyit avatar winterbe avatar zertosh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.