1.3.0 • Published 5 years ago

@amzubair/sensitive-words v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

Example

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

const filtered = sensitiveWords('The new apple macbook pro will have a touchbar', ['pro', 'touchbar'])

console.log(filtered)
// The new apple macbook *** will have a ***
1.3.0

5 years ago

1.2.0

5 years ago