sensitive-wordsfoo
v1.0.0
Published
Filter out a list of words
Downloads
3
Maintainers
Readme
Example
$npm install sensitive-words --save
const {sensitiveWords} = require('sensitive-words')
// ES2015 modules
import {sensitiveWords} from 'sensitive-words'
const filtered = sensitiveWords(
"A string to be hidden is secret",
["string", "secret"]
)
console.log(filtered)
// A ***** to be hidden is *****