sensitive-words-azsprintmbk
v1.0.2
Published
Filter out a list of sensitvie words.
Downloads
3
Maintainers
Readme
Example
$ npm install sensitive-words --saveconst {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 ***