Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepubspec_parse

Parse pubspec.yaml files with a type‑safe API and detailed error reporting.

pub.devRemove
pubspec_yaml

Access and manipulate content of pubspec.yaml files in Dart.

pub.devRemove
ScoresHealth93 (best)45
Maintenance94 (best)0
Quality100 (best)83
Popularity89 (best)35
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)17M (best)3.2k
Likes60 (best)19
Pub points160 / 160 (best)120 / 160
GitHub stars123 (best)6
MaintenanceLatest release1.7.0, 4 weeks ago (best)3.1.0, 5 years ago
Major versions in 12 months00
Contributors100+ (best)1
Publishertools.dart.devdart-borg.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies5 (best)7
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Typed API for all pubspec fields
  • Rich, precise error messages via checked_yaml
  • Supports latest Dart pubspec features (git tag_pattern, falseSecrets, hooks, platforms)
  • Lenient mode to ignore unknown keys
  • Supports equality operations and lenses via functional_data.
  • Handles custom fields via a JSON-like Map structure.
Weaknesses
  • Specialized to pubspec files only, not a general YAML library
  • No code‑generation support
  • Adds another dependency if you already use a generic YAML parser
  • Limited to reading and manipulating pubspec.yaml file structures.
  • Relies on external packages like functional_data and json2yaml.
WarningsNoneNone
pubspec_parse vs pubspec_yaml: which Flutter package should you use? | pubscout