@cebiche/sensitive-words
v1.0.0
Published
Filter out a list of sensitive words
Downloads
4
Maintainers
Readme
Example
npm install sensitive-words -D
const { sensitiveWords } = require('sensitiveWords')
// ESM
import { sensitiveWords } from 'sensitiveWords'
const filtered = sensitiveWords('The new apple macbook pro', ['pro', 'apple'])
console.log(filtered)
// The new *** macbook ***