neosemver 0.0.0 copy "neosemver: ^0.0.0" to clipboard
neosemver: ^0.0.0 copied to clipboard

Semantic versioning and soon extensible constraint solving in Dart.

example/example.dart

import 'package:neosemver/neosemver.dart';

void main() {
  // Standard versions, can either parse or create progmatically.
  print(Version.parse('1.0.0'));
  print(Version(1, 0, 0));

  // Versions with extensions; either/and pre-release and build.
  print(Version.parse('1.2.3-alpha+123'));
  print(Version(1, 2, 3, preRelease: const ['alpha'], build: const ['123']));
}
1
likes
160
pub points
0%
popularity

Publisher

verified publisherneodart.dev

Semantic versioning and soon extensible constraint solving in Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on neosemver