#dom #html #parser

html-helpers

A collection of high-level utilities for cleaning, transforming, and converting HTML content

1 unstable release

Uses new Rust 2024

new 0.0.5 May 2, 2025

#48 in #dom

MIT/Apache

36KB
716 lines

html-helpers

A collection of high-level utilities for cleaning, transforming, and converting HTML content.

⚠️ Very early release – currently supports only HTML slimming.

Example

let content: String = /* full HTML page */;

let slim_content = html_helpers::slim(&content)?;

Dependencies

~1.6–6.5MB
~51K SLoC