jamestalmage / supports-hyperlinks

Detect whether a terminal emulator supports hyperlinks
MIT License
54 stars 13 forks source link

Supporting typing #15

Closed mattxwang closed 1 year ago

mattxwang commented 2 years ago

Hello! The team over at @stylelint is now using support-hyperlinks to show links in terminal output (see https://github.com/stylelint/stylelint/pull/5835). Currently, we've manually defined types for the package, though I think first-class/integrated support would be great!

Do you have a preferred way of doing this with support-hyperlinks (ex bundling it with the package, creating something under @types/, etc.)? Happy to contribute however I can!