Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepubspec_manager

Type-safe API to read, modify, and write pubspec.yaml while preserving comments.

pub.devRemove
pubspec_parse

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

pub.devRemove
ScoresHealth7893 (best)
Maintenance8894 (best)
Quality97100 (best)
Popularity6289 (best)
Community4680 (best)
Compatibility85100 (best)
UsageDownloads (30 days)108k17M (best)
Likes1960 (best)
Pub points160 / 160160 / 160
GitHub stars6123 (best)
MaintenanceLatest release4.1.1, 3 weeks ago (best)1.7.0, 4 weeks ago
Major versions in 12 months10 (best)
Contributors2100+ (best)
Publisheronepub.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies4 (best)5
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Preserves comments and formatting
  • Full support for all documented pubspec keys
  • Type‑safe API reduces runtime errors
  • Allows access to non‑spec content via Document view
  • 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
Weaknesses
  • No code generation support
  • Not a general YAML library
  • Limited to pubspec.yaml use cases
  • 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
WarningsNoneNone
pubspec_manager vs pubspec_parse: which Flutter package should you use? | pubscout