#dom #html #parser

html-helpers

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

5 releases

Uses new Rust 2024

new 0.0.9 May 16, 2025
0.0.8 May 15, 2025
0.0.7 May 13, 2025
0.0.6 May 12, 2025
0.0.5 May 2, 2025

#2189 in Web programming

Download history 98/week @ 2025-04-28 44/week @ 2025-05-05 474/week @ 2025-05-12

616 downloads per month
Used in aipack

MIT/Apache

34KB
661 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

~3–9MB
~90K SLoC