@vijaygenius123/sensitive-words
v1.1.0
Published
Filter out a list of sensitive words
Downloads
1
Maintainers
Readme
Example
npm install @vijaygenius123/sensitive-words
const {sensitiveWords} = require('@vijaygenius123/sensitive-words')
// ES2015
import {sensitiveWords} from '@vijaygenius123/sensitive-words'
const filteredWords = sensitiveWords(
'This is a test',
['a'])
console.log(filteredWords)
// This is *** test