{"name":"ink-link","version":"1.0.0","keywords":["ink-component","ink","component","link","hyperlink","url","react","jsx","terminal","term","console","command-line"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"ink-link@1.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":"622c348303b75ee1a6b017d48e5e19c29db596fa","tarball":"http://registry-npm.ywwl.com/ink-link/download/ink-link-1.0.0.tgz","fileCount":4,"integrity":"sha512-oIyGm7UYz5e9j9xc3zgzkYBYLCcRKg/deA3jieXqQT6F4mnhdlTQfLv8zfNt+IMsouPEEKuLPZGE5no5SAIEPQ==","signatures":[{"sig":"MEUCIQCa1IwiamyyPHGFN29W6hpvjsKB29nY5P5sb39qbKOknQIgcXXpbcYDK6TJ/P30hDMmxr2OIE/ZvRbTIK+WvYtR16g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgKkECRA9TVsSAnZWagAADEQP/0MI3WHwNAmacyrOXasO\n/5Y1kzlXXCoij/8mQAd08BNb/oJMKFizuNl7t5XQ/TfgMCqdFVcfN0Mj6q7v\n50UIQhfvlJgIUwYnxBVwkR+kaZs1Yyj8ewM5Kmz4R/SZOC05iarDXyaHEP94\njPZCqmJz37+DVpx74MnIR/I/QlOBOn5AVjVkivD53KVF4gHdlJfO+To97z3h\n6CS6q0GxG2y/ZcT/pL3DIAdBvUoaPL1XauVvI/H/P5U8+cgOKKWsGVuDV6rp\n/TkgLIqmnLq7E8p+cEVK/gqLm7GKhUQl40aef9kgyya/pIseKixLhzMjZ6JL\nHEuQyft64YOEnMoUw/KnOg9tnyzPWEjwA1sm6zp5AcFW+nTGqnol2lL2UX3v\nD1hrn4QS5gaCzUo9XbzVlGU+L5jDTuqXfSEVeX5NSh6yXkvY+8YWxkMNWiNf\nOYN1ekONFvC7ueS+n9Cf05w4Uib3DpGN2u3qHF27BmKNuNJrIolDFQEjoIjO\nrDoycviKJjMRfkDDBafFC5+CbbNP6EttCHRzm1PKgrYLNqc9Dz20XGN5+WkB\n7CBIhv0yiIJ1UBTKoH0QNmpYuspnjgEnANPdWw0gkMmRp/mV/6gdS47a3MGb\n1AnE4s4tGjtos+y+dToqaeBasw+pSlyml7flz0bQYonVjb2pRdkGVCdphbhi\nPl4T\r\n=DYB2\r\n-----END PGP SIGNATURE-----\r\n","size":2224,"noattachment":false,"key":"/ink-link/-/ink-link-1.0.0.tgz"},"main":"dist.js","babel":{"presets":["@ava/stage-4","@babel/preset-react"]},"engines":{"node":">=8"},"gitHead":"42fd0596d4a9eaefcdc8ad097b01c95994dfaf4f","scripts":{"test":"xo && ava","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.8.0","description":"Link component for Ink","directories":{},"_nodeVersion":"8.15.0","dependencies":{"prop-types":"^15.7.2","terminal-link":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.3.1","ink":"^2.0.3","react":"^16.8.2","@babel/cli":"^7.2.3","@babel/core":"^7.3.3","clear-module":"^3.1.0","@babel/preset-react":"^7.0.0","eslint-plugin-react":"^7.7.0","ink-testing-library":"^1.0.0","eslint-config-xo-react":"^0.19.0","eslint-plugin-react-hooks":"^1.4.0"},"peerDependencies":{"ink":">=2.0.0","react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/ink-link_1.0.0_1551935747834_0.07169233359833593","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":1551935748010,"_cnpm_publish_time":1551935748010,"dist-tags":{"latest":"5.0.0"}}