sax-ts: Event-driven XML/HTML Parser
JSON →sax-ts is an event-driven SAX-style parser for XML and HTML, fully implemented in TypeScript. It is designed with Deno in mind, ensuring browser compatibility, and is also available for Node.js via npm and JSR. The current stable version is 1.2.13, with a release cadence that includes recent point releases for fixes and platform support. Key differentiators include its TypeScript-first approach, memory efficiency for handling large XML documents (e.g., '80 GB' parsing without burning a laptop), and its ability to robustly parse both well-formed and 'mostly-ok-but-kinda-broken' XML documents often found in feeds like RSS. Forked from `sax-js` at version 1.2.9, it aims to provide a modern, type-safe alternative across multiple JavaScript runtimes, supporting strict XML parsing and more forgiving HTML parsing.
Traffic · last 30 days ↓100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany