</>PackageGraphPackageGraph

terminal-link

npmv5.0.0TypeScript

Create clickable links in the terminal

Adopt with care

terminal-link is usable, with caveats. Last published 366 days ago. 2 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    21.2M downloads per week and 1 known dependents.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 366 days ago. 2 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 4 transitive packages, about 19 KB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding terminal-link to a project.

2
Direct dependencies

Runtime packages this one declares itself.

4
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

19 KB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

MIT

Every license you inherit by installing terminal-link, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=20
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the terminal-link README.

import terminalLink from 'terminal-link';

const link = terminalLink('My Website', 'https://sindresorhus.com');
console.log(link);

terminal-link vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
terminal-linkthis page21.2M1MIT1 year ago
supports-hyperlinks40.3M1MIT11 days ago
string-width03MIT11 days ago
cli-spinners01MIT11 days ago
ora06MIT11 days ago
cliui240.3M1ISC11 days ago

Dependencies

Declared by terminal-link v5.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (2)

ansi-escapes ^7.0.0supports-hyperlinks ^4.1.0

Dev (3)

ava ^6.4.1tsd ^0.33.0xo ^1.2.2

Used by

Popular packages that depend on terminal-link.

Relationship graph

Dependencies (left) and dependents (right) of terminal-link.

supports-hyperlin…@expo/cliterminal-link
terminal-link dependencies dependents

Frequently installed together

expo-routernpm

Expo Router is a file-based router for React Native and web applications.

0/wk2 dependentsMITTS
exponpm

The Expo SDK

0/wk18 dependentsMITTS
debugnpm

Lightweight debugging utility for Node.js and the browser

707.3M/wk46 dependentsMIT
zodnpm

TypeScript-first schema declaration and validation library with static type inference

274.7M/wk13 dependentsMITTS
resolve-fromnpm

Resolve the path of a module like `require.resolve()` but from a given path

246.1M/wk8 dependentsMIT
sendnpm

Better streaming static file server with Range and conditional-GET support

143.2M/wk3 dependentsMIT
node-forgenpm

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

38.9M/wk5 dependents(BSD-3-Clause OR GPL-2.0)
@expo/confignpm

A library for interacting with the app.json

12.6M/wk5 dependentsMITTS
getenvnpm

Get and typecast environment variables.

12.5M/wk7 dependentsMIT
@expo/xcprettynpm

Parse and format xcodebuild logs

8.2M/wk1 dependentsBSD-3-ClauseTS
lan-networknpm

Best-effort discovery of the machine's default gateway and local network IP exclusively with UDP sockets.

7.8M/wk1 dependentsMITTS
picomatchnpm

Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.

0/wk13 dependentsMIT

Release history

2 releases in the last two years, typically about 148 days apart.

Recent versions of terminal-link
VersionPublishedSizeLicense
5.0.0latest1 year ago6.5 KBMIT
4.0.01 year ago6.2 KBMIT
3.0.05 years ago6.2 KBMIT
2.1.16 years ago6.4 KBMIT
2.1.06 years ago6.3 KBMIT
2.0.07 years ago5.9 KBMIT
1.3.07 years ago4.7 KBMIT
1.2.07 years ago4.4 KBMIT
1.1.08 years ago3.6 KBMIT
1.0.08 years ago3.3 KBMIT

Overview

terminal-link is an npm package that create clickable links in the terminal. It is extremely widely used, with about 21.2M downloads per week and 1 known dependents in the graph. The latest version is 5.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need create clickable links in the terminal and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (21.2M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use terminal-link?

terminal-link is usable, with caveats. Last published 366 days ago. 2 releases in the last 2 years.

How do I install terminal-link?

Run `npm install terminal-link` to add terminal-link to your npm project.

How many dependencies does terminal-link have?

terminal-link declares 5 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 19 KB on disk.

What license is terminal-link released under?

terminal-link is distributed under the MIT license.

How popular is terminal-link?

terminal-link has approximately 21,167,781 downloads per week and 1 known dependent packages.

Is terminal-link still maintained?

The most recent release of terminal-link (v5.0.0) was published 1 year ago.

Does terminal-link run install scripts?

No. terminal-link does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.