This is simple words censoring
How to use:
-
First instal this using npm with 'npm install sensoring-words'
-
You can include this npm using var c = require(sensoring-words);
-
To filter some words you can use it by calling method censor c.censor("SOME_STRING_HAVE_CENSORED_WORDS")
-
To add new censor words you can add by calling method addCustomCensorWords c.addCustomCensorWords("CENSORE_WORD")
-
To see all the censored words c.getCensorWords()