{"name":"globals","version":"16.3.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.3.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":"66118e765ddaf9e2d880f7e17658543f93f1f667","tarball":"http://registry-npm.ywwl.com/globals/download/globals-16.3.0.tgz","fileCount":6,"integrity":"sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==","signatures":[{"sig":"MEQCIDZZnuIokz41PpejgOmo9bOrkMJF00uYifN6xukdVc4VAiAWU/DE6Drrr6SLVF3sMhuwyCHYkVxl0FPhpoCSRbheug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195738,"size":26589,"noattachment":false,"key":"/globals/-/globals-16.3.0.tgz"},"types":"./index.d.ts","engines":{"node":">=18"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"2b85fdbacb34b87e9550492fa6286f0d99a73238","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","actor":{"name":"sindresorhus","type":"user","email":"sindresorhus@gmail.com"},"email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/globals.git","type":"git"},"_npmVersion":"10.9.2","description":"Global identifiers from different JavaScript environments","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","_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.11.1","type-fest":"^4.41.0","nano-spawn":"^0.2.0","npm-run-all2":"^8.0.1","eslint-plugin-jest":"^28.11.0","@vitest/eslint-plugin":"^1.1.44"},"_npmOperationalInternal":{"tmp":"tmp/globals_16.3.0_1751363559244_0.09762310273972541","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":1751363559430,"_cnpm_publish_time":1751363559430,"dist-tags":{"latest":"17.14.0"}}