1.1.0 • Published 5 years ago

sensitive-words-augie v1.1.0

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

Example

$ npm install sensitive-words --save
const { sensitiveWords } = require('sensitive-words')

// ES2015

import { sensitiveWords } from 'sensitive-words'

const {sensitiveWords} = require('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 *****'