Skip to content

abdkayali/sensitive-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example

$ npm install sensitive-words --save
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']
    )