{"id":13485014,"url":"https://github.com/sindresorhus/ink-link","last_synced_at":"2025-04-04T10:09:51.607Z","repository":{"id":55409500,"uuid":"126708977","full_name":"sindresorhus/ink-link","owner":"sindresorhus","description":"Link component for Ink","archived":false,"fork":false,"pushed_at":"2024-07-03T22:47:42.000Z","size":36,"stargazers_count":173,"open_issues_count":1,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T09:08:22.245Z","etag":null,"topics":["cli","ink","ink-component","jsx","nodejs","npm-package","react"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2018-03-25T15:01:24.000Z","updated_at":"2025-01-07T20:11:34.000Z","dependencies_parsed_at":"2024-11-14T00:39:22.156Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/ink-link","commit_stats":{"total_commits":31,"total_committers":7,"mean_commits":4.428571428571429,"dds":"0.25806451612903225","last_synced_commit":"a3aef0b092d6a3d6773f7ed6009395530d8167c7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fink-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fink-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fink-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fink-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/ink-link/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246759968,"owners_count":20829190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","ink","ink-component","jsx","nodejs","npm-package","react"],"created_at":"2024-07-31T17:01:42.656Z","updated_at":"2025-04-04T10:09:51.577Z","avatar_url":"https://github.com/sindresorhus.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["TypeScript","JavaScript"],"sub_categories":[],"readme":"# ink-link\n\n\u003e Link component for [Ink](https://github.com/vadimdemedes/ink)\n\nCreates clickable links in the terminal!\n\n\u003cimg src=\"screenshot.png\" width=\"332\"\u003e\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\u003cLink url=\"https://sindresorhus.com\"\u003e\n\t\tMy \u003cText color=\"cyan\"\u003eWebsite\u003c/Text\u003e\n\t\u003c/Link\u003e\n);\n```\n\n## API\n\n### `\u003cLink\u003e`\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fink-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fink-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fink-link/lists"}