{"name":"globals","version":"15.12.0","keywords":["globals","global","identifiers","variables","vars","jshint","eslint","environments"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"globals@15.12.0","homepage":"https://github.com/sindresorhus/globals#readme","bugs":{"url":"https://github.com/sindresorhus/globals/issues"},"xo":{"rules":{"unicorn/prefer-module":"off"},"overrides":[{"files":["data/*.mjs"],"rules":{"camelcase":"off","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true}}],"import/no-anonymous-default-export":"off"}},{"files":["scripts/*.mjs"],"rules":{"n/no-unsupported-features/node-builtins":"off"}}]},"tsd":{"compilerOptions":{"resolveJsonModule":true}},"dist":{"shasum":"1811872883ad8f41055b61457a130221297de5b5","tarball":"http://registry-npm.ywwl.com/globals/download/globals-15.12.0.tgz","fileCount":6,"integrity":"sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==","signatures":[{"sig":"MEQCICLoV1+FLo9Uo5ts7CnRGYeWhfwnEAqLAzOpaDFds7H/AiBTGV8YpMyF1EIqkoog2EEntWBTMuAp8MN+/F/WMY1ytw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175742,"size":25275,"noattachment":false,"key":"/globals/-/globals-15.12.0.tgz"},"types":"./index.d.ts","engines":{"node":">=18"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"ff4844d90c7639b1bd30a5705109bf4a30b6d896","scripts":{"test":"npm run build && xo && ava && tsd","build":"run-s build:data build:types","update":"node scripts/update.mjs","prepare":"npm run build","build:data":"node scripts/generate-data.mjs","build:types":"node scripts/generate-types.mjs","update:jest":"node scripts/update.mjs --environment=jest","update:worker":"node scripts/update.mjs --environment=worker","update:browser":"node scripts/update.mjs --environment=browser","update:builtin":"node scripts/update.mjs --environment=builtin","update:shelljs":"node scripts/update.mjs --environment=shelljs","update:nodeBuiltin":"node scripts/update.mjs --environment=nodeBuiltin"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/globals.git","type":"git"},"_npmVersion":"10.6.0","description":"Global identifiers from different JavaScript environments","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.3","ava":"^6.1.3","tsd":"^0.31.2","execa":"^9.4.0","cheerio":"^1.0.0-rc.12","outdent":"^0.8.0","shelljs":"^0.8.5","get-port":"^7.1.0","puppeteer":"^23.4.1","type-fest":"^4.26.1","npm-run-all2":"^6.2.3","eslint-plugin-jest":"^28.8.3"},"_npmOperationalInternal":{"tmp":"tmp/globals_15.12.0_1730718171291_0.38348036106458006","host":"s3://npm-registry-packages"},"readme":"# globals\n\n> Global identifiers from different JavaScript environments\n\nIt's just a [JSON file](globals.json), so you can use it in any environment.\n\nThis package is used by ESLint 8 and earlier. For ESLint 9 and later, you should depend on this package directly in [your ESLint config](https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables).\n\n## Install\n\n```sh\nnpm install globals\n```\n\n## Usage\n\n```js\nimport globals from 'globals';\n\nconsole.log(globals.browser);\n/*\n{\n\taddEventListener: false,\n\tapplicationCache: false,\n\tArrayBuffer: false,\n\tatob: false,\n\t…\n}\n*/\n```\n\nEach 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.\n\nFor Node.js this package provides two sets of globals:\n\n- `globals.nodeBuiltin`: Globals available to all code running in Node.js.\n\tThese will usually be available as properties on the `globalThis` object and include `process`, `Buffer`, but not CommonJS arguments like `require`.\n\tSee: https://nodejs.org/api/globals.html\n- `globals.node`: A combination of the globals from `nodeBuiltin` plus all CommonJS arguments (\"CommonJS module scope\").\n\tSee: https://nodejs.org/api/modules.html#modules_the_module_scope\n\nWhen analyzing code that is known to run outside of a CommonJS wrapper, for example, JavaScript modules, `nodeBuiltin` can find accidental CommonJS references.\n","publish_time":1730718171472,"maintainers":[{"name":"byk","email":"ben@byk.im"},{"name":"nzakas","email":"nicholas@nczconsulting.com"},{"name":"lo1tuma","email":"schreck.mathias@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_cnpm_publish_time":1730718171472,"dist-tags":{"latest":"17.14.0"}}