1.0.0 • Published 6 years ago
sensitive-words13 v1.0.0
Example
$ npm install sensitive-word --save
const {sensitiveWords} = require('sensitive-word')
// ES2015 modules
import {sensitiveWords} from 'sensitiveWords'
const filtered =
sensitiveWords(
'The new apple mackbook pro will have a touchbar',
['pro','touchbar']
);
console.log(filtered);
// The new apple mackbook *** will have a ***
1.0.0
6 years ago