filter-badwords-anylan
v1.0.0
Published
A JavaScript filter for bad words across all languages.
Downloads
4
Readme
Languages
- English
- Hindi
- বাংলা
- spanish
- More
Installation
npm i filter-badwords
Import
import filterWord from 'filter-badwords-anylan'
Usage
const wordList = ["Ass", "badword2", "bitch","বাল","भोस्डिके"];
const str="hello Ass বাল are you भोस्डिके.";
const result = filterWord(str,wordList,true); //Sentence , ListOfBadword , if you want to show "*" then pass true else false
console.log(result);