sensitive-words-detection

1.0.0 • Public • Published

#Example

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

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

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

Package Sidebar

Install

npm i sensitive-words-detection

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

2.08 kB

Total Files

4

Last publish

Collaborators

  • g1anpierre