Decision Workspace
node-html-parser vs dom-tree-rs vs dom_query
Side-by-side comparison of Rust crates
51
node-html-parser
experimentalv0.1.2
Fast HTML parser for Rust & WASM producing a lightweight DOM with CSS selector querying.
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.
66
dom_query
growingv0.28.0
HTML querying and manipulation with CSS selectors
Core Metrics
| node-html-parser | dom-tree-rs | dom_query | |
|---|---|---|---|
| Health Score | 51 | 52 | 66 |
| Total Downloads | 347 | 33 | 5.4M |
| 30d Downloads | 0 | 0 | 1.5M |
| Dependents | 0 | 0 | 128 |
| Releases | 3 | 2 | 49 |
| Last Updated | 22d ago | 20d ago | 56d ago |
| Age | 9m | 20d | 2y 6m |
Health Breakdown
node-html-parser
Maintenance
18
Quality
11
Community
6
Popularity
3
Documentation
13
dom-tree-rs
Maintenance
13
Quality
16
Community
6
Popularity
2
Documentation
15
dom_query
Maintenance
16
Quality
15
Community
12
Popularity
8
Documentation
15
Technical Details
| node-html-parser | dom-tree-rs | dom_query | |
|---|---|---|---|
| Version | 0.1.2 | 0.2.1 | 0.28.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 13 | 4 | 11 |
| Crate Size | 3.1MB | 40KB | 95KB |
| Features | 3 | 5 | 5 |
| Yanked % | 0.0% | 0.0% | 2.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.75 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dom_query leads with a health score of 66/100, but none of the options score above 80.
- •dom_query is depended on by 128 crates — strongest ecosystem trust.