supports-hyperlinks
npmv4.5.0TypeScriptDetect whether a terminal supports hyperlinks
Overview
supports-hyperlinks is an npm package that detect whether a terminal supports hyperlinks. It is extremely widely used, with about 35M downloads per week and 1 known dependents in the graph. The latest version is 4.5.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need detect whether a terminal supports hyperlinks 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 (35M 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.
Relationship graph
Dependencies (left) and dependents (right) of supports-hyperlinks.
Dependencies
Runtime (2)
Dev (4)
Used by
Popular packages that depend on supports-hyperlinks.
Alternatives to supports-hyperlinks
Create clickable links in the terminal
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Get the visual width of a string - the number of columns required to display it
Check if argv has a specific flag
Elegant terminal spinner
Spinners for use in the terminal
The tiniest and the fastest library for terminal output formatting with ANSI colors
Colored symbols for various log levels. Example: `✔︎ Success`
🌈Easily set your terminal text color & styles.
Check if the process is running in an SSH session
easily create complex multi-column command-line-interfaces
Check if something is a generator function
Version history
| Version | Published | License |
|---|---|---|
| 4.5.0latest | 1 month ago | MIT |
| 4.4.0 | 6 months ago | MIT |
| 4.3.0 | 10 months ago | MIT |
| 4.2.0 | 10 months ago | MIT |
| 4.1.2 | 10 months ago | MIT |
| 4.1.0 | 1 year ago | MIT |
| 4.0.0 | 1 year ago | MIT |
| 3.2.0 | 1 year ago | MIT |
| 3.1.0 | 1 year ago | MIT |
| 3.0.0 | 3 years ago | MIT |
| 2.3.0 | 3 years ago | MIT |
| 2.2.0 | 5 years ago | MIT |
| 2.1.0 | 6 years ago | MIT |
| 2.0.0 | 7 years ago | MIT |
| 1.0.1 | 8 years ago | MIT |
| 1.0.0 | 8 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install supports-hyperlinks?
Run `npm install supports-hyperlinks` to add supports-hyperlinks to your npm project.
What license is supports-hyperlinks released under?
supports-hyperlinks is distributed under the MIT license.
How popular is supports-hyperlinks?
supports-hyperlinks has approximately 34,963,967 downloads per week and 1 known dependent packages.