UNPKG

partial-xml-stream-parser

Version:

A lenient XML stream parser for Node.js and browsers that can handle incomplete or malformed XML data, with depth control, CDATA support for XML serialization and round-trip parsing, wildcard pattern support for stopNodes, and CDATA handling within stopNo

4 lines 398 B
import { ParserContext, ChunkProcessingResult, ParseResult } from "./types"; export declare function processXmlChunk(parserContext: ParserContext, xmlChunk: string | Buffer | null | undefined): ChunkProcessingResult; export declare function finalizeStreamResult(parserContext: ParserContext, xmlChunk: string | Buffer | null | undefined): ParseResult; //# sourceMappingURL=stream-processor.d.ts.map