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
json_sorter

Command-line tool and encoder that sorts JSON maps by key.

pub.devRemove
ScoresHealth83 (best)43
Maintenance93 (best)0
Quality100 (best)91
Popularity53 (best)17
Community80 (best)41
Compatibility85100 (best)
UsageDownloads (30 days)204k (best)1.6k
Likes88
Pub points160 / 160 (best)140 / 160
GitHub stars13 (best)6
MaintenanceLatest release0.10.0, 6 days ago (best)1.0.0, 6 years ago
Major versions in 12 months00
Contributors9 (best)1
Publisherserverpod.devdartside.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies71 (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
  • Zero dependencies beyond args.
  • Simple CLI and encoder API.
  • Supports custom indentation.
  • Works with Dart SDK 2.12+ and all platforms.
Weaknesses
  • Requires Dart SDK 3.9+ (breaking change in 0.10.0)
  • addCommand() not supported, needs BetterCommandRunner from cli_tools
  • No code generation support
  • Only sorts map keys; does not handle custom object serialization.
  • No support for sorting lists or other data structures.
  • Limited to JSON; not a general-purpose data transformer.
WarningsNoneNone
config vs json_sorter: which Flutter package should you use? | pubscout