sensitive-words-rbrajbharath1
v1.1.0
Published
Filter out a list of sensitive words
Downloads
1
Maintainers
Readme
Example
$ npm install sensitive-words --save
const {sensitiveWords} = required('sensitive-words')
//ES2015 modules
import {sensitiveWords} from 'sensitive-words'
const {sensitiveWords} = require('sensitive-words');
const filtered = sensitiveWords(
'The new apple mac book pro has touch bar',
['pro', 'bar']
)
console.log(filtered);
//The new apple mac book **** has touch ****