censor_it 2.0.0 copy "censor_it: ^2.0.0" to clipboard
censor_it: ^2.0.0 copied to clipboard

A Dart library for censoring text based on predefined patterns and customizable characters.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add censor_it

With Flutter:

 $ flutter pub add censor_it

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

dependencies:
  censor_it: ^2.0.0

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:censor_it/censor_it.dart';
4
likes
160
points
114
downloads
screenshot

Publisher

verified publisherpavluke.ru

Weekly Downloads

A Dart library for censoring text based on predefined patterns and customizable characters.

Repository (GitHub)
View/report issues

Topics

#censorship #profanity-filter #text-processing #multilingual #dart-library

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on censor_it