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

Method wrapLines

src/cell.js:94–100  ·  view source on GitHub ↗
(computedLines)

Source from the content-addressed store, hash-verified

92 }
93
94 wrapLines(computedLines) {
95 const lines = utils.colorizeLines(computedLines);
96 if (this.href) {
97 return lines.map((line) => utils.hyperlink(this.href, line));
98 }
99 return lines;
100 }
101
102 /**
103 * Initializes the Cells data structure.

Callers 1

computeLinesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected