All Projects → sindresorhus → Ink Link

sindresorhus / Ink Link

Licence: mit
Link component for Ink

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ink Link

Ink Gradient
Gradient color component for Ink
Stars: ✭ 123 (-7.52%)
Mutual labels:  cli, npm-package, jsx
Tb Cli
🛠️ CLI for rapid TB generate
Stars: ✭ 8 (-93.98%)
Mutual labels:  cli, npm-package
Github Spray
Draw on your GitHub contribution graph ░▒▓█
Stars: ✭ 908 (+582.71%)
Mutual labels:  cli, npm-package
Nls
Missing inspector for npm packages.
Stars: ✭ 44 (-66.92%)
Mutual labels:  cli, npm-package
Ok Mdx
Browser-based MDX editor
Stars: ✭ 681 (+412.03%)
Mutual labels:  cli, jsx
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+423.31%)
Mutual labels:  cli, npm-package
Wonders
🌈 Declarative JavaScript framework to build command-line applications.
Stars: ✭ 34 (-74.44%)
Mutual labels:  cli, jsx
Singlespotify
🎵 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (+90.98%)
Mutual labels:  cli, npm-package
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-45.11%)
Mutual labels:  cli, npm-package
Kit
Tools for developing, documenting, and testing React component libraries
Stars: ✭ 1,201 (+803.01%)
Mutual labels:  cli, jsx
Forge Node App
🛠📦🎉 Generate Node.js boilerplate with optional libraries & tools
Stars: ✭ 90 (-32.33%)
Mutual labels:  cli, npm-package
Npm Run All
A CLI tool to run multiple npm-scripts in parallel or sequential.
Stars: ✭ 4,496 (+3280.45%)
Mutual labels:  cli, npm-package
Cpx
A cli tool to watch and copy file globs.
Stars: ✭ 394 (+196.24%)
Mutual labels:  cli, npm-package
Np
A better `npm publish`
Stars: ✭ 6,401 (+4712.78%)
Mutual labels:  cli, npm-package
Meteor Now
Instantly deploy your Meteor apps with `meteor-now`
Stars: ✭ 339 (+154.89%)
Mutual labels:  cli, npm-package
Yarpm
CLI tool to run npm scripts with either npm or yarn, depending on how it was started
Stars: ✭ 13 (-90.23%)
Mutual labels:  cli, npm-package
Jsonexport
{} → 📄 it's easy to convert JSON to CSV
Stars: ✭ 208 (+56.39%)
Mutual labels:  cli, npm-package
Bitcoin Chart Cli
Bitcoin chart for the terminal as command line util
Stars: ✭ 221 (+66.17%)
Mutual labels:  cli, npm-package
Cli Mandelbrot
📦 View the Mandelbrot set from your terminal
Stars: ✭ 59 (-55.64%)
Mutual labels:  cli, npm-package
Wordup Cli
Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
Stars: ✭ 116 (-12.78%)
Mutual labels:  cli, npm-package

ink-link

Link component for Ink

Creates clickable links in the terminal!

Looking for a version compatible with Ink 2.x? Check out this release.

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].