The issue has been solved

posted by IssueHuntBot about 6 years ago 
How would you like this API to look? We would have to return which of stdout
or stderr
that's supported. Having a hard time figuring out how we can keep this non-breaking without bloating the API too much.
posted by kevva about 6 years ago
@kevva Same as for chalk
?
posted by langpavel about 6 years ago
Yes, either separate methods or returning an object with both.
// Defaults to `stdout` to keep the current API
terminalLink(...)
terminalLink.isSupported(...)
// Returns `stdout`
terminalLink.stdout(...)
terminalLink.stdout.isSupported(...)
// Returns `stderr`
terminalLink.stderr(...)
terminalLink.stderr.isSupported(...)
or
// Returns `{stderr, stdout}`
terminalLink(...)
terminalLink.isSupported(...)
posted by kevva about 6 years ago
// Returns stderr
terminalLink.stderr(...)
terminalLink.stderr.isSupported(...)
š
posted by sindresorhus about 6 years ago
posted by IssueHuntBot about 6 years ago 
@sindresorhus has rewarded $36.00 to @tom-sherman. See it on IssueHunt
- :moneybag: Total deposit: $40.00
- :tada: Repository reward(0%): $0.00
- :wrench: Service fee(10%): $4.00
posted by issuehunt-app[bot] over 5 years ago