sensitive-words13

1.0.0 • Public • Published

Example

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

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

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

Package Sidebar

Install

npm i sensitive-words13

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

31.5 kB

Total Files

14

Last publish

Collaborators

  • yongpil