This library is still under development. For avoiding issues like, the word 'Hello' is a bad word because it contains "Hell". For avoiding this issues, I've created a exceptions list.
Supported Languages: English If anyone has details of any language, add the json array file containing the bad words in lib/bads folder.
The filename should be like this "bads_language code>.json"
var NoBads =filter = languages:'en';var word = "Where is that hell"console;
languages:"en""mal"//en- English (default), mal- MalayalamdisableDefaultException:true//false by-default (true -> disable all default exception words)include:"custom"//includes custom words that needs to be avoidedexclude:"hell"//excludes the word hell, now hell is not a bad word