MCPcopy Create free account
hub / github.com/code-pushup/cli / wrap

Function wrap

packages/utils/src/lib/text-formats/html/table.ts:5–7  ·  view source on GitHub ↗
(elem: string, content: string)

Source from the content-addressed store, hash-verified

3import { columnsToStringArray, rowToStringArray } from '../table.js';
4
5function wrap(elem: string, content: string): string {
6 return `<${elem}>${content}</${elem}>${NEW_LINE}`;
7}
8
9function wrapRow(content: string): string {
10 const elem = 'tr';

Callers 1

tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected