Decision Workspace
dom-tree-rs vs node-html-parser vs ironhtml-parser
Side-by-side comparison of Rust crates
50
dom-tree-rs
experimentalv0.2.1
Tiny, zero-dependency, forgiving HTML parser: turn messy real-world HTML into a clean DOM tree (and JSON). WASM-first, no_std-friendly.
45
node-html-parser
growingv0.1.2
Fast HTML parser for Rust & WASM producing a lightweight DOM with CSS selector querying.
44
ironhtml-parser
growingv1.0.0
HTML5 parser following the WHATWG Living Standard
Core Metrics
| dom-tree-rs | node-html-parser | ironhtml-parser | |
|---|---|---|---|
| Health Score | 50 | 45 | 44 |
| Total Downloads | 49 | 366 | 90 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 3 | 1 |
| Last Updated | 108d ago | 111d ago | 244d ago |
| Age | 3m | 1y | 8m |
Health Breakdown
dom-tree-rs
Maintenance
11
Quality
16
Community
6
Popularity
2
Documentation
15
node-html-parser
Maintenance
11
Quality
12
Community
6
Popularity
3
Documentation
13
ironhtml-parser
Maintenance
4
Quality
20
Community
6
Popularity
2
Documentation
12
Technical Details
| dom-tree-rs | node-html-parser | ironhtml-parser | |
|---|---|---|---|
| Version | 0.2.1 | 0.1.2 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 13 | 1 |
| Crate Size | 40KB | 3.1MB | 13KB |
| Features | 5 | 3 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | — | 1.81.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dom-tree-rs leads with a health score of 50/100, but none of the options score above 80.
- •node-html-parser has the most downloads (366), suggesting wider adoption.
- •dom-tree-rs, node-html-parser are pre-1.0 — API may change.