|
Download Fore_End/cpcn2/node_modules/globals/readme.md from zxy0307/JavaWeb: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/cpcn2/node_modules/globals/readme.md
- Command line
-
hf download hf://zxy0307/JavaWeb/Fore_End/cpcn2/node_modules/globals/readme.md
-
curl -L -o readme.md https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/cpcn2/node_modules/globals/readme.md
1.41 kB
globals
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 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.
License
MIT © Sindre Sorhus