MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / stripCaret

Function stripCaret

src/patch-streaming-html.ts:265–267  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

263
264/** Strip streaming caret marker from HTML */
265export function stripCaret(html: string): string {
266 return html.replace(CARET_RE, "").trimEnd();
267}
268
269function extractAllCompleteRows(html: string): string[] {
270 const rows: string[] = [];

Callers 3

patchStreamingHtmlFunction · 0.70
syncStreamingCaretFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected