MCPcopy Index your code
hub / github.com/TanStack/ai / formatRow

Function formatRow

packages/ai-code-mode-skills/test-cli/cli.ts:133–134  ·  view source on GitHub ↗
(row: string[])

Source from the content-addressed store, hash-verified

131
132 const separator = colWidths.map((w) => '-'.repeat(w)).join('-+-')
133 const formatRow = (row: string[]) =>
134 row.map((cell, idx) => padEnd(cell, colWidths[idx]!)).join(' | ')
135
136 console.log(formatRow(headers))
137 console.log(separator)

Callers 1

formatGridFunction · 0.85

Calls 1

padEndFunction · 0.85

Tested by

no test coverage detected