A small and lighweight offline profanity checker
npm i profane-js --save
Node Package Manager Installed
var profanity = require('profane-js');
profanity.containsProfanity(myText);
profanity.containsProfanity('good'); //return false
profanity.containsProfanity('ass'); //return true
profanity.containsProfanity('hey bitch'); //return true
- Anuj Singh - Initial work - anujsinghwd
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration