censorjs
v1.1.1
Published
Javascript profanity filter. Uses regex to filter out replacements and derivatives. Based on BanBuilder (https://github.com/snipe/banbuilder)
Downloads
14
Readme
censorjs
Javascript profanity filter. Uses regex to filter out replacements and derivatives.
Based on BanBuilder
Using
var censorjs = require('censorjs');
var cleaned = censorjs.clean("String with dirty words here :(");
console.log(cleaned);