1.0.0 • Published 7 years ago
sensitive-words-z v1.0.0
Example
$ npm install sensitive-words --save
const { 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 ***
1.0.0
7 years ago