mixj93-sensitive-words

1.1.0 • Public • Published

Example

$ npm install sensitive-words
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 ****

Package Sidebar

Install

npm i mixj93-sensitive-words

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

2.18 kB

Total Files

4

Last publish

Collaborators

  • mixj93