1.0.0 • Published 6 years ago

sensitive_words_filter v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

#Example

$ npm install sensitive_words_filter --save
const {sensitiveWords} = require('sensitive_words_filter')
// ES2015 modules
import {sensitiveWords} from 'sensitive_words_filter'

const filteredSentence = sensitiveWords('The have five apples, you have two oranges', ['apples', 'oranges'])

console.log(filteredSentence);
// The have five *****, you have two *****