4.1.0 • Published 12 months ago

ink-link v4.1.0

Weekly downloads
64,062
License
MIT
Repository
github
Last release
12 months ago

ink-link

Link component for Ink

Creates clickable links in the terminal!

Install

npm install ink-link

Usage

import React from 'react';
import {render, Text} from 'ink';
import Link from 'ink-link';

render(
	<Link url="https://sindresorhus.com">
		My <Text color="cyan">Website</Text>
	</Link>
);

API

<Link>

Supported terminals.

For unsupported terminals, the link will be printed in parens after the text: My website (https://sindresorhus.com).

url

Type: string

The URL to link to.

fallback

Type: boolean\ Default: true

Determines whether the URL should be printed in parens after the text for unsupported terminals: My website (https://sindresorhus.com).

Related

@doublethinkio/spoon@infinitebrahmanuniverse/nolb-ink@everything-registry/sub-chunk-1915@gitstore/interminal-cookerwoke-adsstandup-clithose-cheeks@dreamcatcher-ai/cli@crystallize/cli@crystallize/cli-next@callstack/ai-cli@buttonize/cli@canisminor/cli@canonic/cli@prisma/lift@roots/budpackdoflokcalskenar-admin-clisquare-online-clinchesite-theme-clitimwang@archanova/cli@andrewflett/typewriter@bleepbloop/nic-portfolio@clerk/upgrade@bojagi/cliyamanokuyamanoku-cliyougoto@fauna-databrecht/staging-fauna-schema-migrate@eknowles/clio-cli@gentrace/cli@luma-sandbox/scui@maxam2017/news-cli@nielinjie/multi-repo-cli@eximchain/dappbot-cli@mbecker20/monitor-cli@mdugue/fyi@mittwald/cli@mattvagni/typewriter@monstrs/cli-ui-file-link@knapsack/plugin-adobe-dsp@knapsack/plugin-adobe-dsp-import@jfrk/gatsby-shadow-cli@reason-ink/ink-link@rescript-ink/ink-link@stateofscale/cli@nvanexan/fw-cli@remirror/climultiple-repo-managermnswprmlab-speed-testnamecardokineadevopen-agintnyqschedulist-clirti-tek-helperrudder-typersellics-clinesspplxpokipolar-initpolar-migraterailwayrecycle-clisindresorhus.jsshrt-urlsnickglobalscribegh-linearimonlineink-weather-clihrockhelpers-clilingua-link-ailoftschool-react-climdugue@twilio-labs/plugin-signal2020@twilio-labs/plugin-signal2021@twilio-labs/plugin-signal2022@ulld/developer-cli@ulld/build@ulld/cli@trycourier/cli@ttrinks/circ@universal-apps/today@syfxlin/depker-cli@todesktop/cli@versioning.app/cli@zalastax/nolb-ink@zeroheight/adoption-cli@zeroheight/content-cli@zeroheight/sg-settings-cli@substrate/playground-cliadrianv.sh
4.1.0

12 months ago

4.0.0

1 year ago

3.0.0

2 years ago

2.0.1

2 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago

0.2.0

7 years ago

0.1.0

7 years ago