{"name":"globals","version":"15.13.0","description":"Global identifiers from different JavaScript environments","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/globals.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"npm run build && xo && ava && tsd","prepare":"npm run build","update":"node scripts/update.mjs","update:browser":"node scripts/update.mjs --environment=browser","update:builtin":"node scripts/update.mjs --environment=builtin","update:nodeBuiltin":"node scripts/update.mjs --environment=nodeBuiltin","update:worker":"node scripts/update.mjs --environment=worker","update:shelljs":"node scripts/update.mjs --environment=shelljs","update:jest":"node scripts/update.mjs --environment=jest","build":"run-s build:data build:types","build:data":"node scripts/generate-data.mjs","build:types":"node scripts/generate-types.mjs"},"keywords":["globals","global","identifiers","variables","vars","jshint","eslint","environments"],"devDependencies":{"ava":"^6.1.3","cheerio":"^1.0.0-rc.12","eslint-plugin-jest":"^28.8.3","execa":"^9.4.0","get-port":"^7.1.0","npm-run-all2":"^6.2.3","outdent":"^0.8.0","puppeteer":"^23.4.1","shelljs":"^0.8.5","tsd":"^0.31.2","type-fest":"^4.26.1","xo":"^0.59.3"},"xo":{"rules":{"unicorn/prefer-module":"off"},"overrides":[{"files":["data/*.mjs"],"rules":{"import/no-anonymous-default-export":"off","camelcase":"off","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true}}]}},{"files":["scripts/*.mjs"],"rules":{"n/no-unsupported-features/node-builtins":"off"}}]},"tsd":{"compilerOptions":{"resolveJsonModule":true}},"_id":"globals@15.13.0","gitHead":"ad28ede9cd5dc3f28c0244dad6ea004183bc9a18","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/globals/issues"},"homepage":"https://github.com/sindresorhus/globals#readme","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g==","shasum":"bbec719d69aafef188ecd67954aae76a696010fc","tarball":"http://registry-npm.ywwl.com/globals/download/globals-15.13.0.tgz","fileCount":6,"unpackedSize":176196,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWch8vKwTgHcPF3QhUCovjoZIeqeFGmv4BA7Y4O8tFVgIhAKLO9EOTByq5V6NsgmslajGDyDhseNR8KQEuI7rbD7VL"}],"size":25286,"noattachment":false,"key":"/globals/-/globals-15.13.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globals_15.13.0_1733078781929_0.27661444968167936"},"_hasShrinkwrap":false,"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":1733078782134,"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":1733078782134,"dist-tags":{"latest":"17.14.0"}}