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

outdated

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

example/main.dart

import 'dart:io';

import 'package:change/model.dart';
import 'package:markdown/markdown.dart';

/// This example shows how to parse a changelog.
/// Run it from the project root folder: `dart example/main.dart`
void main() async {
  final file = File('CHANGELOG.md');
  final markdown = Document().parseLines(await file.readAsLines());
  final changelog = Changelog.fromMarkdown(markdown);
  final releases = changelog.releases;
  final latest = releases.last;
  print('Changelog contains ${releases.length} releases');
  print('The latest is ${latest.version} released on ${latest.date}');
}
8
likes
0
pub points
74%
popularity

Publisher

verified publisherkarapetov.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, intl, markdown, marker, maybe_just_nothing, pub_semver

More

Packages that depend on change