1.0.1 • Published 5 years ago
sensitive-words-vr2 v1.0.1
Example
$ npm install sensitive-words
const {sensitiveWords} = require('sensitive-words')
//ES2015 modules
import {sensitiveWords} from 'sensitive-words'
const filtered =
sensitiveWords(
"The new apple macbook pro will have a touchbar",
["pro", "touchbar"]
)
console.log(filtered)
// The new apple macbook *** will have a ***