Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehtml

A Dart implementation of an HTML5 parser for strings and bytes.

pub.devRemove
xml

Full-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.

pub.devRemove
ScoresHealth9192 (best)
Maintenance8687 (best)
Quality9697 (best)
Popularity9797
Community8080
Compatibility100100
UsageDownloads (30 days)15M19M (best)
Likes663 (best)449
Pub points150 / 160160 / 160 (best)
GitHub stars123230 (best)
MaintenanceLatest release0.15.7, 3 months ago7.1.0, 8 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors100+ (best)19
Publishertools.dart.devlukas-renggli.ch
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)4
LicenseUNKNOWNMIT
Setup effortLowLow
JudgementStrengths
  • Fully-featured HTML5 parser ported from Python's html5lib
  • Supports parsing document fragments as well as full documents
  • Comprehensive W3C XPath 3.1 implementation and DOM model.
  • Supports both pull- and push-based event-driven SAX streaming.
  • Zero overhead and fully portable across Dart VM, Flutter, and Web.
Weaknesses
  • Dropped support for encodings other than UTF-8 and ASCII
  • Does not validate documents against XML Schema (XSD) definitions.
  • External DTD entity resolution and validation are not enforced.
WarningsNoneNone
html vs xml: which Flutter package should you use? | pubscout