Skip to main content

@dbushell/xml-streamify@0.4.0

Fetch and parse XML documents using the power of JavaScript web streams and async iterators ✨

Works with
It is unknown whether this package works with Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
a month ago
indexparse
function parse
deno add @dbushell/xml-streamify
import { parse } from "@dbushell/xml-streamify";
npx jsr add @dbushell/xml-streamify
import { parse } from "@dbushell/xml-streamify";
yarn dlx jsr add @dbushell/xml-streamify
import { parse } from "@dbushell/xml-streamify";
pnpm dlx jsr add @dbushell/xml-streamify
import { parse } from "@dbushell/xml-streamify";
bunx jsr add @dbushell/xml-streamify
import { parse } from "@dbushell/xml-streamify";

Async generator function for parsing a streamed XML document

Parameters

url: string | URL

URL to fetch and parse

optional
options: ParseOptions

Parsing options ParseOptions

Return Type

AsyncGenerator<Node, Node | void, void>

Yields parsed XML nodes Node