Text Purifier Demo

Text Purifier is a lightweight npm package to filter inappropriate words from your text. Input your text, specify the words you want to filter, and choose whether you want to censor or remove those words.

📦 NPM Package: npm install text-purifier View on NPM
🔧 Usage: import { createBadWordFilter } from 'text-purifier';
📘 Repository: GitHub Repository

Enter the words you want to filter out. For multiple words, separate them with spaces.

Example: stupid ugly bad

Enter the text you want to filter. All inappropriate words will be processed according to your preference.

Example: You are very stupid and ugly!
Result: