Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alphanimble/htmlstream
/ functions
Functions
189 in github.com/Alphanimble/htmlstream
⨍
Functions
189
◇
Types & classes
23
↓ 1 callers
Function
ensureSvgStreamRegions
(container: HTMLElement)
src/streamhtml.tsx:74
↓ 1 callers
Function
extractAllCompleteRows
(html: string)
src/patch-streaming-html.ts:269
↓ 1 callers
Function
extractDeltaContent
(delta: Record<string, unknown> | undefined)
demo/server/openrouter-chat.ts:64
↓ 1 callers
Function
extractDeltaParts
(delta: Record<string, unknown> | undefined)
demo/server/openrouter-chat.ts:138
↓ 1 callers
Function
extractDeltaReasoning
(delta: Record<string, unknown> | undefined)
demo/server/openrouter-chat.ts:96
↓ 1 callers
Function
findActiveTable
(container: HTMLElement)
src/patch-streaming-html.ts:697
↓ 1 callers
Function
findCorrespondingSvgInTrack
( track: string, html: string, svgStartInHtml: number, )
src/strip-smil-animations.ts:196
↓ 1 callers
Function
findEnclosingSvgStart
(html: string, index: number)
src/strip-smil-animations.ts:53
↓ 1 callers
Function
findInProgressRow
Reuse the streaming partial row when the track has no complete rows yet.
src/patch-streaming-html.ts:853
↓ 1 callers
Function
findIncompleteTagIndex
(html: string)
src/rehtml/strip-incomplete.ts:11
↓ 1 callers
Function
findNthSvgOpen
(track: string, n: number)
src/strip-smil-animations.ts:118
↓ 1 callers
Function
fixBrokenImages
(root: HTMLElement)
demo/chat/stream-actions.ts:37
↓ 1 callers
Function
flushResponse
(res: ServerResponse)
demo/server/openrouter-chat.ts:158
↓ 1 callers
Function
forStreamingDisplay
(html: string)
src/streamhtml.tsx:382
↓ 1 callers
Function
formatSessionWhen
(iso: string)
demo/chat/session-api.ts:58
↓ 1 callers
Function
getTrailingTextRun
Literal characters currently being typed at the end of the track.
src/patch-streaming-html.ts:93
↓ 1 callers
Function
isInsideRawText
(html: string, position: number)
src/rehtml/strip-incomplete.ts:35
↓ 1 callers
Function
isLatexReady
(latex: string)
demo/render-math.ts:4
↓ 1 callers
Function
isNearScrollBottom
( el: HTMLElement, thresholdPx = 24, )
src/hold-stream.ts:88
↓ 1 callers
Function
isSvgCompleteAt
(html: string, svgOpenStart: number)
src/freeze-stream-svgs.ts:18
↓ 1 callers
Function
isSvgCompleteInTrack
(track: string, svgOpenStart: number)
src/strip-smil-animations.ts:151
↓ 1 callers
Function
isTextOnlySuffix
True when suffix is plain text with no markup (safe for flat append)
src/patch-streaming-html.ts:668
↓ 1 callers
Function
isVerticallyScrollable
(el: HTMLElement)
src/hold-stream.ts:166
↓ 1 callers
Function
listSessionSummaries
()
demo/server/session-log.ts:63
↓ 1 callers
Function
listSessions
()
demo/chat/session-api.ts:22
↓ 1 callers
Function
loadLocalSession
()
demo/chat/session.ts:58
↓ 1 callers
Function
loadProjectEnv
( envRoot: string, viteEnv: Record<string, string>, )
demo/server/openrouter-chat.ts:15
↓ 1 callers
Function
loadServerSession
()
demo/chat/session.ts:88
↓ 1 callers
Function
loadSessionById
(id: string)
demo/chat/session-api.ts:34
↓ 1 callers
Function
measureCaretPointFromRange
( host: HTMLElement, range: Range, fallback: Element, )
src/stream-caret.ts:143
↓ 1 callers
Function
nextChunkSize
(text: string, index: number, chunkSize: number)
demo/chat/stream-replay.ts:26
↓ 1 callers
Function
normalizeSession
(raw: ChatSession)
demo/chat/session-api.ts:11
↓ 1 callers
Function
openRouterChatPlugin
(env: Record<string, string>)
demo/server/openrouter-chat.ts:247
↓ 1 callers
Function
patchPostTableTail
( container: HTMLElement, displayHtml: string, track: string, previousTrack: string, tableEnd: numbe
src/patch-streaming-html.ts:395
↓ 1 callers
Function
patchTableRows
( container: HTMLElement, displayHtml: string, track: string, prefix: string, )
src/patch-streaming-html.ts:705
↓ 1 callers
Function
pipeOpenRouterStream
( res: ServerResponse, apiKey: string, model: string, messages: { role: string; content: string }[], )
demo/server/openrouter-chat.ts:163
↓ 1 callers
Function
placeStreamingCaret
(el: HTMLElement, displayHtml: string, track: string)
src/streamhtml.tsx:108
↓ 1 callers
Function
playMeow
()
demo/chat/stream-actions.ts:3
↓ 1 callers
Function
positionStreamingCaretAtRange
( caret: HTMLElement, host: HTMLElement, range: Range, fallback: Element, )
src/stream-caret.ts:256
↓ 1 callers
Function
prefersReducedMotion
()
src/stream-caret.ts:23
↓ 1 callers
Function
readBody
(req: IncomingMessage)
demo/server/openrouter-chat.ts:46
↓ 1 callers
Function
readBody
(req: IncomingMessage)
demo/server/session-log.ts:16
↓ 1 callers
Function
readRect
( range: Range, fallback: Element, )
src/stream-caret.ts:133
↓ 1 callers
Function
readSessionFile
(filePath: string)
demo/server/session-log.ts:33
↓ 1 callers
Function
removeInlineCarets
(container: HTMLElement)
src/stream-caret.ts:17
↓ 1 callers
Function
removeOrphanContainerText
Remove text nodes wrongly appended at container root during earlier frames
src/patch-streaming-html.ts:256
↓ 1 callers
Function
renderMath
(root: HTMLElement, streaming = false)
demo/render-math.ts:20
↓ 1 callers
Function
renderStreamingDisplay
()
src/streamhtml.tsx:106
↓ 1 callers
Function
renderStreamingTail
( trackTail: string, _fullTrack: string, )
src/freeze-stream-svgs.ts:177
↓ 1 callers
Function
replayStream
( text: string, onChunk: (chunk: string) => void, options: ReplayOptions, )
demo/chat/stream-replay.ts:34
↓ 1 callers
Function
runAction
( action: string, el: HTMLElement, )
demo/chat/stream-actions.ts:69
↓ 1 callers
Function
saveServerSession
(session: ChatSession)
demo/chat/session.ts:104
↓ 1 callers
Function
seedRowCountsFromDom
(table: HTMLTableElement)
src/patch-streaming-html.ts:682
↓ 1 callers
Function
seedTableCounts
(el: HTMLElement, track: string)
src/streamhtml.tsx:134
↓ 1 callers
Function
sessionLogPlugin
()
demo/server/session-log.ts:84
↓ 1 callers
Function
settleScrollBottom
( container: HTMLElement | null, userScrolledUp: { current: boolean }, )
demo/App.tsx:193
↓ 1 callers
Function
settleStreamChunks
(root: ParentNode)
src/stream-chunk.ts:16
↓ 1 callers
Function
sleep
(ms: number, signal?: AbortSignal)
demo/chat/stream-replay.ts:9
↓ 1 callers
Function
sliceImplicitTbody
Body rows without an explicit <tbody> wrapper
src/patch-streaming-html.ts:515
↓ 1 callers
Function
streamChat
( messages: { role: string; content: string }[], onPart: (part: StreamPart) => void, signal: AbortSignal
demo/chat/App.tsx:45
↓ 1 callers
Function
stripCompleteRows
(tableSection: string)
src/patch-streaming-html.ts:871
↓ 1 callers
Function
summarizeSession
(session: SessionFile)
demo/server/session-log.ts:41
↓ 1 callers
Function
svgEndIndex
(html: string, svgOpenStart: number)
src/freeze-stream-svgs.ts:63
↓ 1 callers
Function
tagMeowButtons
(root: HTMLElement)
demo/chat/stream-actions.ts:58
↓ 1 callers
Function
trackHasSvg
(html: string)
src/freeze-stream-svgs.ts:160
↓ 1 callers
Function
turnLabel
(message: ChatMessage, index: number)
demo/chat/SessionSidebar.tsx:32
↓ 1 callers
Function
writeStreamPart
(res: ServerResponse, part: StreamPart)
demo/server/openrouter-chat.ts:153
Function
App
()
demo/App.tsx:207
Function
ChatApp
()
demo/chat/App.tsx:87
Function
HtmlStream
(props: StreamHtmlProps)
src/html-stream.tsx:12
Function
SessionSidebar
({ sessions, activeSessionId, session, replayTargetId, replaySettings, streaming, onRefre
demo/chat/SessionSidebar.tsx:38
Function
StreamHtml
({ children = "", reasoning: reasoningProp = "", isStreaming = false, caret, repair = true, saniti
src/streamhtml.tsx:323
Function
closeOpenTagsForStream
Close non-table tags only (table rows need real </tr> in source)
src/patch-streaming-html.ts:964
Function
configureServer
(server)
demo/server/openrouter-chat.ts:250
Function
configureServer
(server)
demo/server/session-log.ts:87
Function
moveCaretToElement
( caret: HTMLSpanElement, host: HTMLElement, target: HTMLElement, )
src/stream-caret.ts:247
Function
onClick
(event: MouseEvent)
demo/chat/stream-actions.ts:99
Function
onScroll
()
src/hold-stream.ts:156
Function
onSubmit
(e: FormEvent)
demo/chat/App.tsx:450
Function
onTouchMove
(e: TouchEvent)
demo/App.tsx:255
Function
onTouchStart
(e: TouchEvent)
demo/App.tsx:252
Function
onWheel
(e: WheelEvent)
demo/App.tsx:247
Function
placeCaretAfterElement
( caret: HTMLSpanElement, host: HTMLElement, element: Element, )
src/stream-caret.ts:239
Function
repairAssistantMessage
(message: ChatMessage)
demo/chat/session.ts:20
Function
sessionPreview
(session: ChatSession)
demo/chat/session-api.ts:50
Function
start
(controller)
tests/reasoning.test.tsx:66
Function
tick
()
src/streamhtml.tsx:119
Function
tick
()
demo/App.tsx:277
Function
tick
()
demo/chat/App.tsx:251
← previous
101–189 of 189, ranked by callers