UNPKG

supports-hyperlinks

Version:

Detect whether a terminal supports hyperlinks

48 lines (47 loc) 861 B
{ "name": "supports-hyperlinks", "version": "4.0.0", "description": "Detect whether a terminal supports hyperlinks", "license": "MIT", "repository": "chalk/supports-hyperlinks", "funding": "https://github.com/chalk/supports-hyperlinks?sponsor=1", "type": "module", "exports": { "types": "./index.d.ts", "default": "./index.js" }, "sideEffects": false, "engines": { "node": ">=20" }, "scripts": { "test": "xo && ava && tsc index.d.ts" }, "files": [ "index.js", "index.d.ts", "browser.js" ], "browser": "browser.js", "keywords": [ "link", "terminal", "hyperlink", "cli", "detect", "check", "ansi", "escapes", "console" ], "dependencies": { "has-flag": "^5.0.1", "supports-color": "^10.0.0" }, "devDependencies": { "ava": "^6.2.0", "codecov": "^3.8.3", "typescript": "^5.8.2", "xo": "^0.60.0" } }