1.0.2 • Published 6 years ago
chez-sensitive-words v1.0.2
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 ***