sensitive-words-mf
v1.0.0
Published
Filter out a list of sensitive words
Downloads
2
Maintainers
Readme
Example
$ npm install sensitive-words-mf --save
const {sensitiveWords} = require('sensitive-words-mf');
// ES2015
import {sensitiveWords} from 'sensitive-words-mf';
const filtered =
sensitiveWords(
'The new Apple Macbook Pro will have touchbar',
['Pro', 'Touchbar']
)
console.log(filtered)
// The new Apple Macbook ***** will have *****