Preparing for system design interviews?  Try bugzed.com →

sax-ts: Event-driven XML/HTML Parser

JSON →
library 1.2.13 ·javascript
verified Jun 17, 2026

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.

total hits 9
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany