{"name":"globals","version":"16.5.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@16.5.0","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"}],"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"}},{"envs":["browser","worker","serviceworker"],"files":["scripts/browser/assets/**/*.mjs"],"rules":{"unicorn/prefer-add-event-listener":"off","n/no-unsupported-features/node-builtins":"off"}}]},"tsd":{"compilerOptions":{"resolveJsonModule":true}},"dist":{"shasum":"ccf1594a437b97653b2be13ed4d8f5c9f850cac1","tarball":"http://registry-npm.ywwl.com/globals/download/globals-16.5.0.tgz","fileCount":6,"integrity":"sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==","signatures":[{"sig":"MEQCICYMu6dRyl1txwaePJXWinwzMNyXWRvDfydcLVd2Vog7AiBOHLTfSZBmgnX52rtD7JobUD+936UoF8MEKAyZy8+Y8A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198676,"size":27062,"noattachment":false,"key":"/globals/-/globals-16.5.0.tgz"},"types":"./index.d.ts","engines":{"node":">=18"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"46fdf18f4ce0b5abc9da1b3cf0f64fe8413f8573","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 --job=jest","update:vitest":"node scripts/update.mjs --job=vitest","update:worker":"node scripts/update.mjs --job=worker","update:browser":"node scripts/update.mjs --job=browser","update:builtin":"node scripts/update.mjs --job=builtin","update:shelljs":"node scripts/update.mjs --job=shelljs","update:nodeBuiltin":"node scripts/update.mjs --job=nodeBuiltin","update:serviceworker":"node scripts/update.mjs --job=serviceworker","update:builtin-yearly":"node scripts/update.mjs --job=builtin-yearly"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/globals.git","type":"git"},"_npmVersion":"11.6.1","description":"Global identifiers from different JavaScript environments","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.60.0","ava":"^6.3.0","tsd":"^0.32.0","cheerio":"^1.0.0","outdent":"^0.8.0","shelljs":"^0.9.2","get-port":"^7.1.0","puppeteer":"^24.27.0","type-fest":"^4.41.0","nano-spawn":"^0.2.0","npm-run-all2":"^8.0.1","is-identifier":"^1.0.1","eslint-plugin-jest":"^28.11.0","@vitest/eslint-plugin":"^1.1.44"},"_npmOperationalInternal":{"tmp":"tmp/globals_16.5.0_1761976900729_0.48410115715644664","host":"s3://npm-registry-packages-npm-production"},"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":1761976900916,"_cnpm_publish_time":1761976900916,"dist-tags":{"latest":"17.14.0"}}