{"name":"ink-link","version":"0.2.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@0.2.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":"b9e20624d87f4a771b8b818d07878e7fc06b3b1f","tarball":"http://registry-npm.ywwl.com/ink-link/download/ink-link-0.2.0.tgz","fileCount":4,"integrity":"sha512-UeedNasNwn/0plNxHNIaXJf9pLlUBEBMQYJCu19QFvUiVkXYntlPcfqyjLuJqlzLJccytDN0MBp+DGISoKKvtA==","signatures":[{"sig":"MEUCIGg1/iOg6AEyS8S4NCH7lTSByTqFKWPHNCN7sxw2o0euAiEAyiZEx4rohMTi0JxSs+KhxmJuRUdcXDB0rNHjoSdZKdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4324,"size":2202,"noattachment":false,"key":"/ink-link/-/ink-link-0.2.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":"6f1444e3c39aebe49e4b147e5532242cfa39523e","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","terminal-link":"^1.0.0"},"_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.2.0_1522865239886_0.5920318459822906","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":1522865239932,"_cnpm_publish_time":1522865239932,"dist-tags":{"latest":"5.0.0"}}