Skip to content

rnarayan/sensitive-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example

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

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

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

About

tutorial on how to create npm package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published