chrono_dart 2.0.1 copy "chrono_dart: ^2.0.1" to clipboard
chrono_dart: ^2.0.1 copied to clipboard

A natural language date parser in Dart. Finds date references in user-generated text and returns objects containing DateTime and position in text.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add chrono_dart

With Flutter:

 $ flutter pub add chrono_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  chrono_dart: ^2.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:chrono_dart/chrono_dart.dart';
1
likes
130
pub points
45%
popularity

Publisher

verified publisherg-30.dev

A natural language date parser in Dart. Finds date references in user-generated text and returns objects containing DateTime and position in text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

day

More

Packages that depend on chrono_dart