human_crontab 1.0.0+1 copy "human_crontab: ^1.0.0+1" to clipboard
human_crontab: ^1.0.0+1 copied to clipboard

A library for parsing and formatting crontab patterns into a human-readable strings.

Dart Human Crontab #

A package to convert crontabs to a human readable format much like crontab.guru

Getting started #

Add it to pubspec.yaml:

dependencies:
  human_crontab: ^1.0.0

or install via pub:

dart pub add human_crontab

Usage #

import 'package:human_crontab/human_crontab.dart';

void main() {
  final cron = '30 4 */1 12 5';
  print(HumanCrontab.parse(cron).toHuman());
  // At 4:30 on every 1st day of the month on Friday in December
}
2
likes
150
pub points
38%
popularity

Publisher

verified publisheroaka.xyz

A library for parsing and formatting crontab patterns into a human-readable strings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on human_crontab