Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 309 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 309 Bytes

bad_words

A dart filter for English bad words.

https://pub.dev/packages/bad_words

Installation

bad_words: ^0.3.0

Usage

import 'package:bad_words/bad_words.dart';

final filter = Filter();

if (filter.isProfane('some string to test')) {
    // ... validation error etc.
}