{"name":"ink-link","version":"2.0.0","keywords":["ink-component","ink","component","link","hyperlink","url","react","jsx","terminal","term","console","command-line"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"ink-link@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/ink-link#readme","bugs":{"url":"https://github.com/sindresorhus/ink-link/issues"},"xo":{"extends":["xo-react"]},"ava":{"color":true},"dist":{"shasum":"3e52135010398a4406f0e879baf8c118ddbb537f","tarball":"http://registry-npm.ywwl.com/ink-link/download/ink-link-2.0.0.tgz","fileCount":5,"integrity":"sha512-1Ic1uU1df+2ThYUE6n04RXNs7eqQOSmxBlSbOKHIM3biLAkvyaAxzXAI4tOjWZBrS6mP1wZBEGxAH5LozQbeJg==","signatures":[{"sig":"MEYCIQDDGwqRE82Kf1MLttdPAHTk8xRmZwTXPr/UU1JryUbKhQIhAJ1DjzqpSnG8y+gOdqkdXnyMpHuSSAYKw/eHLJJ7e+PK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMZiBCRA9TVsSAnZWagAAswcP/A8evqXPIm2PGjI1JpWR\niS6Za0Is2Wa9XaHeExY8pyhNEbhcg6bGWL9V1gebBZuAXKGOnKSj4ZV4aOCb\nq4Bn4NQuF4/5B9Alk9wMDMVbnKDws0FGF3HhcQG/ru2msJp28bUZg+BHd82/\npzk+akWsTIYwfLpGr0dyTs4SleBkgppSVzYAEXhzka0Byzf3glImFTNtVJLF\nIVbi4HxGh7in5odwgniTd7a8mLLvQfF2w+rLFS10CGIw8WVC+eP8lKJljMj4\nvJ0q9qgPTrK90ykDqLwpC83J7F7BNCcV/xDJ4cPmqosmz98jUX9JSdf65kDm\ntPln+QU0S8GEScJYMjbKcoX6YzoFltoDE8ZRsuu8TfPx5nb5lmPEC2xVbDfW\n3UyqGQL+DKJXRoAJ9HIHTDHitd32aYeed0GxTgDKF3u7D5sm2dQ7r7jlKcLk\npUR9telCks4Dq6lP1J+4SjXQMS040sryeYS1q0fBEjW49awbispRGeL6T1MD\nhGfPRnSKTBf/hQPJrFTjYG+OT0nUpblQK5LNVeizfVeoWa3MJV4IyKZsvy2U\nd/+sQW55fir+AGPGFSw7FuiP5Y6LtueBbRnhdabHvsetBLMvfTx2a5VlNQRN\ncwArKm1CwtMzDqsD/16seq95XloqsAbVA/3YsuwvhErMsJd9eBUoWNahavkd\nZgRz\r\n=4hIZ\r\n-----END PGP SIGNATURE-----\r\n","size":2660,"noattachment":false,"key":"/ink-link/-/ink-link-2.0.0.tgz"},"main":"dist.js","babel":{"presets":["@ava/stage-4","@babel/preset-react"]},"engines":{"node":">=10"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"70c43df8b2a23f17681db76b07704b661932c96a","scripts":{"test":"xo && ava && tsd","build":"babel index.js --out-file=dist.js","pretest":"npm run build","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/ink-link.git","type":"git"},"_npmVersion":"6.14.7","description":"Link component for Ink","directories":{},"_nodeVersion":"14.5.0","dependencies":{"prop-types":"^15.7.2","terminal-link":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.33.0","ava":"^1.3.1","ink":"^3.0.3","tsd":"^0.13.1","react":"^16.8.2","@babel/cli":"^7.2.3","@babel/core":"^7.3.3","@types/react":"^16.9.16","clear-module":"^4.1.1","@babel/preset-react":"^7.0.0","eslint-plugin-react":"^7.7.0","ink-testing-library":"^2.0.1","eslint-config-xo-react":"^0.23.0","eslint-plugin-react-hooks":"^4.0.8"},"peerDependencies":{"ink":">=3.0.0","react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/ink-link_2.0.0_1597085824624_0.5357840032333159","host":"s3://npm-registry-packages"},"readme":"# ink-link\n\n> Link component for [Ink](https://github.com/vadimdemedes/ink)\n\nCreates clickable links in the terminal!\n\n<img src=\"screenshot.png\" width=\"332\">\n\n## Install\n\n```sh\nnpm install ink-link\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport {render, Text} from 'ink';\nimport Link from 'ink-link';\n\nrender(\n\t<Link url=\"https://sindresorhus.com\">\n\t\tMy <Text color=\"cyan\">Website</Text>\n\t</Link>\n);\n```\n\n## API\n\n### `<Link>`\n\n[Supported terminals.](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda)\n\nFor unsupported terminals, the link will be printed in parens after the text: `My website (https://sindresorhus.com)`.\n\n#### url\n\nType: `string`\n\nThe URL to link to.\n\n#### fallback\n\nType: `boolean`\\\nDefault: `true`\n\nDetermines whether the URL should be printed in parens after the text for unsupported terminals: `My website (https://sindresorhus.com)`.\n\n## Related\n\n- [terminal-link](https://github.com/sindresorhus/terminal-link) - Create clickable links in the terminal\n- [ink-gradient](https://github.com/sindresorhus/ink-gradient) - Gradient color component for Ink\n- [ink-big-text](https://github.com/sindresorhus/ink-big-text) - Awesome text component for Ink\n","publish_time":1597085824748,"_cnpm_publish_time":1597085824748,"dist-tags":{"latest":"5.0.0"}}