{
  "manifest": {
    "name": "supports-hyperlinks",
    "version": "2.3.0",
    "description": "Detect if your terminal emulator supports hyperlinks",
    "license": "MIT",
    "repository": {
      "type": "git",
      "url": "https://github.com/jamestalmage/supports-hyperlinks.git"
    },
    "author": {
      "name": "James Talmage",
      "email": "james@talmage.io",
      "url": "github.com/jamestalmage"
    },
    "engines": {
      "node": ">=8"
    },
    "scripts": {
      "prepublishOnly": "npm run create-types",
      "test": "xo && nyc ava",
      "create-types": "tsc index.js --allowJs  --declaration --emitDeclarationOnly"
    },
    "files": [
      "index.js",
      "browser.js"
    ],
    "browser": "browser.js",
    "keywords": [
      "link",
      "terminal",
      "hyperlink",
      "cli"
    ],
    "dependencies": {
      "has-flag": "^4.0.0",
      "supports-color": "^7.0.0"
    },
    "devDependencies": {
      "ava": "^2.2.0",
      "codecov": "^3.5.0",
      "nyc": "^14.1.1",
      "typescript": "^3.7.2",
      "xo": "^0.24.0"
    },
    "nyc": {
      "reporter": [
        "lcov",
        "text"
      ]
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-supports-hyperlinks-2.3.0-3943544347c1ff90b15effb03fc14ae45ec10624-integrity/node_modules/supports-hyperlinks/package.json",
    "readmeFilename": "readme.md",
    "readme": "# supports-hyperlinks [![Build Status](https://travis-ci.org/jamestalmage/supports-hyperlinks.svg?branch=master)](https://travis-ci.org/jamestalmage/supports-hyperlinks) [![codecov](https://codecov.io/gh/jamestalmage/supports-hyperlinks/badge.svg?branch=master)](https://codecov.io/gh/jamestalmage/supports-hyperlinks?branch=master)\n\n> Detect whether a terminal emulator supports hyperlinks\n\nTerminal emulators are [starting to support hyperlinks](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda). While many terminals have long detected URL's and linkified them, allowing you to Command-Click or Control-Click them to open a browser, you were forced to print the long unsightly URL's on the screen. As of spring 2017 [a few terminals](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) began supporting HTML like links, where the link text and destination could be specified separately.\n\nThis module allows you to detect if hyperlinks are supported in the current Terminal.\n\nAs this is a new development, we anticipate the list of supported Terminals to grow rapidly. Please open an issue or submit a PR as new Terminals implement support.\n\n## Install\n\n```\n$ npm install supports-hyperlinks\n```\n\n\n## Usage\n\n```js\nconst supportsHyperlinks = require('supports-hyperlinks');\n\nif (supportsHyperlinks.stdout) {\n\tconsole.log('Terminal stdout supports hyperlinks');\n}\n\nif (supportsHyperlinks.stderr) {\n\tconsole.log('Terminal stderr supports hyperlinks');\n}\n```\n\n## API\n\nReturns an `Object` with a `stdout` and `stderr` property for testing either streams. Each property is a `boolean`, indicating whether or not hyperlinks are supported.\n\n## Info\n\nObeys the `--no-hyperlinks`, `--hyperlink=always`, and `--hyperlink=never` CLI flags.\n\nCan be overridden by the user with the flags `--hyperlinks=always` and `--no-hyperlinks`. For situations where using those flags are not possible, add the environment variable `FORCE_HYPERLINK=1` to forcefully enable hyperlinks or `FORCE_HYPERLINK=0` to forcefully disable. The use of `FORCE_HYPERLINK` overrides all other hyperlink support checks.\n\n## Related\n\n  * [`hyperlinker`](https://github.com/jamestalmage/hyperlinker): Write hyperlinks for the Terminal.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n",
    "licenseText": "MIT License\n\nCopyright (c) James Talmage <james@talmage.io> (github.com/jamestalmage)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz",
    "hash": "3943544347c1ff90b15effb03fc14ae45ec10624",
    "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==",
    "registry": "npm",
    "packageName": "supports-hyperlinks",
    "cacheIntegrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== sha1-OUNUQ0fB/5CxXv+wP8FK5F7BBiQ="
  },
  "registry": "npm",
  "hash": "3943544347c1ff90b15effb03fc14ae45ec10624"
}