word_count 1.0.4
word_count: ^1.0.4 copied to clipboard
Fastest multi-language word counting library (8.0 million words/s) for Dart that supports 85+ languages.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add word_countWith Flutter:
$ flutter pub add word_countThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
word_count: ^1.0.4Alternatively, 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:word_count/word_count.dart';