canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS and CSS.
75 lines (74 loc) • 3.13 kB
JSON
{
"_args": [
[
"globals@https://registry.npmjs.org/globals/-/globals-8.17.0.tgz",
"/Users/gajus/Documents/dev/canonical-code-style/canonical"
]
],
"_from": "globals@>=8.3.0 <9.0.0",
"_id": "globals@8.17.0",
"_inCache": true,
"_location": "/globals",
"_phantomChildren": {},
"_requested": {
"name": "globals",
"raw": "globals@https://registry.npmjs.org/globals/-/globals-8.17.0.tgz",
"rawSpec": "https://registry.npmjs.org/globals/-/globals-8.17.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/globals/-/globals-8.17.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/babel-traverse",
"/eslint"
],
"_resolved": "https://registry.npmjs.org/globals/-/globals-8.17.0.tgz",
"_shasum": "9385a461712d91063fbd62e9b88b96aa00d09b97",
"_shrinkwrap": null,
"_spec": "globals@https://registry.npmjs.org/globals/-/globals-8.17.0.tgz",
"_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "http://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/globals/issues"
},
"dependencies": {},
"description": "Global identifiers from different JavaScript environments",
"devDependencies": {
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"globals.json",
"index.js"
],
"homepage": "https://github.com/sindresorhus/globals#readme",
"keywords": [
"environments",
"eslint",
"global",
"globals",
"identifiers",
"jshint",
"variables",
"vars"
],
"license": "MIT",
"name": "globals",
"optionalDependencies": {},
"readme": "# globals [](https://travis-ci.org/sindresorhus/globals)\n\n> Global identifiers from different JavaScript environments\n\nExtracted from [JSHint](https://github.com/jshint/jshint/blob/3a8efa979dbb157bfb5c10b5826603a55a33b9ad/src/vars.js) and [ESLint](https://github.com/eslint/eslint/blob/b648406218f8a2d7302b98f5565e23199f44eb31/conf/environments.json) and merged.\n\nIt's just a [JSON file](globals.json), so use it in whatever environment you like.\n\n\n## Install\n\n```\n$ npm install --save globals\n```\n\n\n## Usage\n\n```js\nvar globals = require('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\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/globals.git"
},
"scripts": {
"test": "mocha"
},
"version": "8.17.0"
}