1.1.0 • Published 7 years ago
sensitive-words-electric v1.1.0
Example
$ npm install sensitive-words --save
import { sensitiveWords } from "sensitiveWords";
const filtered = sensitiveWords(
"the new apple macbook pro will have a touchbar", ["pro", "touchbar"]
)
console.log(filtered);
// the new apple macbook *** will have a ***