Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconfig

Typed CLI argument and config file parser with env support

pub.devRemove
pubspec_parse

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

pub.devRemove
ScoresHealth8493 (best)
Maintenance9494
Quality100100
Popularity5389 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)204k17M (best)
Likes860 (best)
Pub points160 / 160160 / 160
GitHub stars13123 (best)
MaintenanceLatest release0.10.0, 6 days ago (best)1.7.0, 4 weeks ago
Major versions in 12 months00
Contributors9100+ (best)
Publisherserverpod.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies75 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Typed option definitions with automatic parsing and constraints
  • Support for environment variables and YAML/JSON config files
  • Collects all validation errors upfront for better UX
  • Drop‑in replacement for ArgParser with minimal code changes
  • 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
  • Requires Dart SDK 3.9+ (breaking change in 0.10.0)
  • addCommand() not supported, needs BetterCommandRunner from cli_tools
  • No code generation support
  • 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
config vs pubspec_parse: which Flutter package should you use? | pubscout