legal 0.2.3 copy "legal: ^0.2.3" to clipboard
legal: ^0.2.3 copied to clipboard

Offline third-party license inventory, SPDX policy checks, and deterministic license notices for Dart applications.

example/legal_example.dart

import 'package:legal/legal.dart';

Future<void> main() async {
  final project = await LegalProject.load('.');
  final report = await project.scan();
  final result = report.check(project.config.policy);
  print('Policy satisfied: ${result.isSuccess}');
  print(report.renderThirdPartyLicenses(policy: project.config.policy));
}
0
likes
160
points
469
downloads

Documentation

API reference

Publisher

verified publisherfischerscode.com

Weekly Downloads

Offline third-party license inventory, SPDX policy checks, and deterministic license notices for Dart applications.

Repository (GitHub)
View/report issues
Contributing

Topics

#licenses #cli #compliance #spdx

License

BSD-3-Clause (license)

Dependencies

args, pana, path, pub_semver, yaml

More

Packages that depend on legal