MCPcopy Create free account
hub / github.com/cli-table/cli-table3 / hyperlink

Function hyperlink

src/utils.js:327–333  ·  view source on GitHub ↗

* Credit: Matheus Sampaio https://github.com/matheussampaio

(url, text)

Source from the content-addressed store, hash-verified

325 * Credit: Matheus Sampaio https://github.com/matheussampaio
326 */
327function hyperlink(url, text) {
328 const OSC = '\u001B]';
329 const BEL = '\u0007';
330 const SEP = ';';
331
332 return [OSC, '8', SEP, SEP, url || text, BEL, text, OSC, '8', SEP, SEP, BEL].join('');
333}
334
335module.exports = {
336 strlen: strlen,

Callers 1

linkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…