sax-ts: Event-driven XML/HTML Parser

JSON →
library 1.2.13 ·javascript
verified May 27, 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 11
actors 5 distinct systems
last hit 8d ago Script
GPTBot
5
Script
1
ClaudeBot
1
Search engines
1

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