Decision Workspace
dom-tree-rs vs node-html-parser vs ironhtml-parser
Side-by-side comparison of Rust crates
52
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.
51
node-html-parser
experimentalv0.1.2
Fast HTML parser for Rust & WASM producing a lightweight DOM with CSS selector querying.
45
ironhtml-parser
experimentalv1.0.0
HTML5 parser following the WHATWG Living Standard
Core Metrics
| dom-tree-rs | node-html-parser | ironhtml-parser | |
|---|---|---|---|
| Health Score | 52 | 51 | 45 |
| Total Downloads | 33 | 347 | 46 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 3 | 1 |
| Last Updated | 20d ago | 22d ago | 156d ago |
| Age | 20d | 9m | 5m |
Health Breakdown
dom-tree-rs
Maintenance
13
Quality
16
Community
6
Popularity
2
Documentation
15
node-html-parser
Maintenance
18
Quality
11
Community
6
Popularity
3
Documentation
13
ironhtml-parser
Maintenance
6
Quality
19
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 52/100, but none of the options score above 80.
- •node-html-parser has the most downloads (347), suggesting wider adoption.
- •dom-tree-rs, node-html-parser are pre-1.0 — API may change.