1.1.0 • Published 7 years ago
sensitive-words-tutorial v1.1.0
Example
$ npm install sensitive-words-tutorial --save
const {sensitiveWords} = require('sensitive-words-tutorial')
// ES2015 modules
import {sensitiveWords} from 'sensitive-words-tutorial'
const filtered = sensitiveWords('The new apple macbook pro will have a touchbar', ['pro','touchbar'])
console.log(filtered)
//The new apple macbook *** will have a ***