sensitive-words-rikesh

1.2.0 • Public • Published

#Example:

$ npm install sensetive-words --save
const { sensitiveWords } = require('sensitive-words');

// ES2015 modules

import { sensitiveWords } from 'sensitive-words';

const filtered = sensitiveWords(
    "here is the new life, a good life for my lovely living life. on the verge of death and life",
    ["life","good"]
    );

console.log('here',filtered);

//here here is the new ***, a *** *** for my lovely living ***. on the verge of death and ***

Package Sidebar

Install

npm i sensitive-words-rikesh

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

16.9 kB

Total Files

9

Last publish

Collaborators

  • riklakhe