sensitive-word
v1.0.0
Published
filter out alist of sensitive words
Downloads
11
Maintainers
Readme
Example
$ npm install sensitive-words --save
const {sensitiveWords} = require('sensitive-words')
// ES2015 modules
import {sensitiveWords} from 'sensitive-words'
const filtered = sensitiveWords(
'The new apple makbook pro will have a touchbar',
['pro','touchbar']
)
console.log(filtered)
// The new apple makbook *** will have a ***