chez-sensitive-words
v1.0.2
Published
Filter out a list of sensitive words
Maintainers
Readme
Example
$ npm install chez-sensitive-words
const {sensitiveWords} = require('chez-sensitive-words')
// ES2015 modules
//import {sensitiveWords} from 'chez-sensitive-words'
const filtered = sensitiveWords(
'The new apple mac book pro will have a touchbar',
['pro', 'touchbar']
)
console.log({filtered});
//The new apple mac book *** will have a ***