Skip to content

abdoutelb/sensitive-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For Hiding sensitive-words

Example

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

const filtered = sensitiveWords(
    'The new apple makbook pro will have a touchbar',
    ['pro','touchbar']
)
console.log(filtered)
// The new apple makbook *** will have a ***

About

a package to filter the sensitive words from articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published