{"name":"ink-link","version":"0.1.0","keywords":["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@0.1.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"],"ignores":["dist.js"],"settings":{"react":{"pragma":"h"}}},"ava":{"babel":"inherit"},"dist":{"shasum":"99eb5dc4ffee39f756747cd212832881e2a84067","tarball":"http://registry-npm.ywwl.com/ink-link/download/ink-link-0.1.0.tgz","fileCount":4,"integrity":"sha512-U2uuYWUkCt+AfThvx44Kh9P/+VN5Ypjm/wuiV8kWtSIANtznn69TofffUDgnKZQbJcBrTxMZi3LQqtUfrD4+0A==","signatures":[{"sig":"MEQCIHlJyP+vqWoa8hplCbxU8I+NcBnITGZt3Ps2KnXxo73QAiABwmPKOwa6/SYOvj6xiMueBrRr1/GpI3ZTpXfkeBYM+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3951,"size":2129,"noattachment":false,"key":"/ink-link/-/ink-link-0.1.0.tgz"},"main":"dist.js","babel":{"plugins":[["transform-react-jsx",{"pragma":"h","useBuiltIns":true}]],"presets":["@ava/stage-4"]},"files":["dist.js"],"engines":{"node":">=6"},"gitHead":"b2c7c2dc79ac517923af8de50b7bb6a99a278979","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":"5.6.0","description":"Link component for Ink","directories":{},"_nodeVersion":"8.10.0","dependencies":{"prop-types":"^15.6.1","ansi-escapes":"^3.1.0","supports-hyperlinks":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"*","ava":"*","ink":"^0.4.1","babel-cli":"^6.26.0","clear-module":"^2.1.0","eslint-plugin-react":"^7.7.0","eslint-config-xo-react":"^0.16.0","babel-plugin-transform-react-jsx":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/ink-link_0.1.0_1522382320485_0.19947887492251604","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":1522382320648,"_cnpm_publish_time":1522382320648,"dist-tags":{"latest":"5.0.0"}}