MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / quoteText

Function quoteText

packages/cli/src/utils/layoutAudit.ts:308–312  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

306}
307
308function quoteText(text: string): string {
309 const normalized = text.replace(/\s+/g, " ").trim();
310 const truncated = normalized.length > 80 ? `${normalized.slice(0, 77)}...` : normalized;
311 return `"${truncated}"`;
312}
313
314function formatNumber(value: number): string {
315 return Number.isInteger(value)

Callers 1

formatLayoutIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected