pub_health 0.1.1
pub_health: ^0.1.1 copied to clipboard
Audit Dart and Flutter dependency health: find outdated, discontinued, retracted, stale, and unused packages with CI-ready reports.
Examples #
CLI #
dart pub global activate pub_health
pub_health
pub_health --format json --fail-on high
Library #
See main.dart:
import 'package:pub_health/pub_health.dart';
Future<void> main() async {
final report = await analyzeProject(
'.',
options: const PubHealthOptions(failOn: Severity.high),
);
print(report.healthScore.score);
}
More notes: basic_usage.md