Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_pubspec_licenses

Extracts open source license information from Dart packages using pubspec.yaml

pub.devRemove
json2yaml

Converts JSON maps to YAML strings with beautification and pubspec conventions.

pub.devRemove
ScoresHealth63 (best)50
Maintenance25 (best)0
Quality91100 (best)
Popularity61 (best)55
Community80 (best)46
Compatibility85100 (best)
UsageDownloads (30 days)183k (best)98k
Likes15 (best)12
Pub points140 / 160160 / 160 (best)
GitHub stars52 (best)16
MaintenanceLatest release3.2.0, 9 months ago (best)3.0.1, 4 years ago
Major versions in 12 months00
Contributors10 (best)2
Publisherespresso3389.jpdart-borg.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies51 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports generating either a Dart constant file or a JSON file
  • Detects SPDX license identifiers automatically
  • Handles complex workspaces and package directories
  • Accurate handling of nested JSON structures
  • Built‑in beautifier for readable output
  • Dedicated pubspec.yaml and pubspec.lock formatting styles
  • Simple API: single function call
Weaknesses
  • Requires pub get / pub upgrade to be run before generating licenses
  • Does nothing at runtime as it is purely a build-time tool
  • No word wrapping for long strings
  • Limited formatting options beyond the three styles
  • Not a full YAML parser/serializer
WarningsNoneNone
dart_pubspec_licenses vs json2yaml: which Flutter package should you use? | pubscout