sensitive-words-augie

1.1.0 • Public • Published

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 *****'
 

Package Sidebar

Install

npm i sensitive-words-augie

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.32 kB

Total Files

5

Last publish

Collaborators

  • augievt