4.1.0 • Published 6 months ago

ink-link v4.1.0

Weekly downloads
64,062
License
MIT
Repository
github
Last release
6 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-adsschedulist-clistandup-clirti-tek-helperrudder-typersellics-clithose-cheekssquare-online-climlab-speed-testmnswprloftschool-react-clilingua-link-aiink-weather-clikenar-admin-cliimonlinekcalshelpers-cligh-linearglobalscribenchemultiple-repo-managermduguepplxpolar-initpokinessnamecardntnyqrailwayrecycle-clisnickshrt-urlsindresorhus.jssite-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@shoplinedev/app@substrate/playground-cli@remirror/cli@dreamcatcher-ai/cli@crystallize/cli@crystallize/cli-next@callstack/ai-cli@buttonize/cli@canisminor/cli@canonic/cli@prisma/lift@roots/budpackdoflo@syfxlin/depker-cli@twilio-labs/plugin-signal2021@twilio-labs/plugin-signal2022@twilio-labs/plugin-signal2020@ttrinks/circ@trycourier/cli@versioning.app/cli@ulld/build@ulld/developer-cli@ulld/cli@universal-apps/todayfundl@todesktop/clifauna-schema-migrate@zalastax/nolb-inkadrianv.sh@zeroheight/adoption-cli@zeroheight/content-cli@zeroheight/sg-settings-clibento-get
4.1.0

6 months ago

4.0.0

8 months ago

3.0.0

2 years ago

2.0.1

2 years ago

2.0.0

4 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