MCPcopy Index your code
hub / github.com/Alphanimble/htmlstream / extractCompleteRows

Function extractCompleteRows

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

Source from the content-addressed store, hash-verified

278
279/** Extract complete rows that contain at least one cell (skip auto-closed empty rows) */
280export function extractCompleteRows(html: string): string[] {
281 return extractAllCompleteRows(html).filter((row) => CELL_RE.test(row));
282}
283
284/** Index where the first <table starts, or -1 */
285export function findTableStart(html: string): number {

Callers 2

splitTableStreamFunction · 0.85

Calls 1

extractAllCompleteRowsFunction · 0.85

Tested by

no test coverage detected