lol-html
« Back to VersTracker
Description:
Low output latency streaming HTML parser/rewriter with CSS selector-based API
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @cloudflare  |  formulae.brew.sh
Category: Developer tools
Tags: html parser rewriter rust streaming css-selectors
Install: brew install lol-html
About:
LolHtml is a streaming HTML parser and rewriter designed for low output latency, making it ideal for real-time processing tasks. It provides a CSS selector-based API that allows developers to easily modify HTML content on the fly without fully parsing the document into a memory-intensive tree structure.
Key Features:
  • Streaming architecture for minimal memory usage
  • CSS selector-based API for easy element targeting
  • High-performance Rust core
  • Low output latency suitable for proxy scenarios
Use Cases:
  • HTML rewriting in reverse proxies and CDNs
  • Content sanitization for web applications
  • Server-side HTML transformation tasks
Alternatives:
  • html5ever – More complex API, lower-level access to parse tree
  • parse5 – JavaScript-based, higher memory usage for large documents
Version History
Detected Version Rev Change Commit
Sep 14, 2025 8:19pm 0 VERSION_BUMP ef40e12d
Dec 30, 2024 2:40am 0 VERSION_BUMP e1ac47ec