change 0.7.5 copy "change: ^0.7.5" to clipboard
change: ^0.7.5 copied to clipboard

A Changelog manipulation library. Read/modify/write your CHANGELOG.md. Inspired by keepachangelog.com.

example/main.dart

import 'dart:io';

import 'package:change/change.dart';

/// This example shows how to parse a changelog.
/// Run it from the project root folder: `dart example/main.dart`
void main() {
  final file = File('CHANGELOG.md');
  final log = parseChangelog(file.readAsStringSync());
  final latest = log.history().last;
  print('Changelog contains ${log.history().length} releases.');
  print('The latest version is ${latest.version}');
  print('released on ${latest.date}');
  print('and containing ${latest.changes().length} change(s).');
}
8
likes
160
points
23.3k
downloads

Publisher

verified publisherkarapetov.com

Weekly Downloads

A Changelog manipulation library. Read/modify/write your CHANGELOG.md. Inspired by keepachangelog.com.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl, markdown, marker, pub_semver

More

Packages that depend on change