15.0.0 • Published 1 month ago

globals v15.0.0

Weekly downloads
32,717,746
License
MIT
Repository
github
Last release
1 month ago

globals

Global identifiers from different JavaScript environments

It's just a JSON file, so use it in any environment.

This package is used by ESLint.

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

Install

npm install globals

Usage

const 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.

For Node.js this package provides two sets of globals:

When analyzing code that is known to run outside of a CommonJS wrapper, for example, JavaScript modules, nodeBuiltin can find accidental CommonJS references.

@babel/traverse@babel/plugin-transform-classes@eslint/eslintrcbabel-traverseeslint-plugin-cypresseslint-plugin-vue@huyhpham/rn-line@polkadot/devarchetype-library@dinert/utilseasy-select-rnvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-imagepipihomern-send-smsspecify-importsbabel-specify-imports@icanpm/api-masterelectron-eslinteslint-4-fix@arisageha/react-lazyload@arisageha/react-lazyload-fix@oneplanetcrowd/developers@cashremit/cr-streamline-iconsrn-device-information@almeidaa/msreact-native-template-rfbasecloud-archive-s3airscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxf@phil8795/pecuniarius-apideneme323112@texttree/demo-bsa-reference-rcl@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjamesagreestudioeslintreact-native-covid-sdkgql_din_modbitgetalex-frontend-sdk-stagingafryxiconsreact-native-thanh-toast-librarymutasi-bca@jttechnic/interpreter@thanhnguyen14797/react-native-thanh-toast-library@l1nyanm1ng/react-picture-viewer@saeon/quick-formauto-extractcthpb-plugin-social@iobroker-community-adapters/iobroker.device-watcher@olivervorasai/slidermysql-formatreact-native-printer-brothersrn-pdf-reader-offlinecbmis-ai-toolbox@belko.tech/belko-multi-wallet-sdk@newhorizon-tech/dd-npm-package-templatereact-native-shekhar-bridge-testasterjscogoportutilsukor-remasteruncoded-connect@reversodev/oceanic-fleetuinz-notificationwilscanner@khalitovadel/abstract-repository@oiti/documentoscopy-react-native@respondea/cordova-plugin-v-inappbrowser@mink-opn/build-tokensquoc-testreact-native-slider-kfunblock-block-save-variables@prodam/prodam-types@wumijs/cli@saaspe/componentshyperpass-sdkplginexpand-react-bridgeopea-bootstraapluminos-ui-coresklif-ui-kitsklif-apits-handy@everything-registry/sub-chunk-1770jawwy-sdkjawwy_gamification_releaseydw-babeldemo@314oner_npm/universal-components-library@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkg@lvjiaxuan/eslint-config-js
15.0.0

1 month ago

14.0.0

3 months ago

13.24.0

5 months ago

13.22.0

7 months ago

13.23.0

7 months ago

13.21.0

9 months ago

13.20.0

1 year ago

13.18.0

1 year ago

13.19.0

1 year ago

13.16.0

2 years ago

13.17.0

2 years ago

13.14.0

2 years ago

13.15.0

2 years ago

13.13.0

2 years ago

13.12.1

2 years ago

13.12.0

2 years ago

13.11.0

3 years ago

13.10.0

3 years ago

13.9.0

3 years ago

13.8.0

3 years ago

13.7.0

3 years ago

13.6.0

3 years ago

13.5.0

3 years ago

13.4.0

3 years ago

13.3.0

4 years ago

13.2.0

4 years ago

13.1.0

4 years ago

13.0.0

4 years ago

12.4.0

4 years ago

12.3.0

4 years ago

12.2.0

4 years ago

12.1.1

5 years ago

12.1.0

5 years ago

12.0.0

5 years ago

11.12.0

5 years ago

11.11.0

5 years ago

11.10.0

5 years ago

11.9.0

5 years ago

11.8.0

6 years ago

11.7.0

6 years ago

11.6.0

6 years ago

11.5.0

6 years ago

11.4.0

6 years ago

11.3.0

6 years ago

11.2.0

6 years ago

11.1.0

6 years ago

11.0.1

6 years ago

11.0.0

6 years ago

10.4.0

6 years ago

10.3.0

6 years ago

10.2.0

6 years ago

10.1.0

7 years ago

10.0.0

7 years ago

9.18.0

7 years ago

9.17.0

7 years ago

9.16.0

7 years ago

9.15.0

7 years ago

9.14.0

7 years ago

9.13.0

7 years ago

9.12.0

8 years ago

9.11.0

8 years ago

9.10.0

8 years ago

9.9.0

8 years ago

9.8.0

8 years ago

9.7.0

8 years ago

9.6.0

8 years ago

9.5.0

8 years ago

9.4.0

8 years ago

9.3.0

8 years ago

9.2.0

8 years ago

9.1.0

8 years ago

9.0.0

8 years ago

8.18.0

8 years ago

8.17.0

8 years ago

8.16.0

8 years ago

8.15.0

8 years ago

8.14.0

8 years ago

8.13.0

8 years ago

8.12.1

8 years ago

8.12.0

8 years ago

8.11.0

9 years ago

8.10.0

9 years ago

8.9.0

9 years ago

8.8.0

9 years ago

8.7.0

9 years ago

8.6.0

9 years ago

8.5.0

9 years ago

8.4.0

9 years ago

8.3.0

9 years ago

8.2.0

9 years ago

8.1.0

9 years ago

8.0.0

9 years ago

7.1.0

9 years ago

7.0.0

9 years ago

6.4.1

9 years ago

6.4.0

9 years ago

6.3.0

9 years ago

6.2.0

9 years ago

6.1.0

9 years ago

6.0.0

9 years ago

5.1.0

9 years ago

5.0.0

9 years ago

4.0.0

9 years ago

3.0.0

9 years ago

2.0.0

9 years ago

1.0.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

11 years ago