Use the playground to switch dictionaries, test boundaries, and inspect the exact API configuration represented by generated code.
- Contains profanity
- Yes
- Matches
- 1
- Filtered output
- This is ****, but classic stays clean.
- isClean()
- false
shit· 8–12 · en
import { createDetector } from "profanity-kit";
const detector = createDetector({});
detector.filter("This is shit, but classic stays clean.");