sensitive-words-rbrajbharath1

1.1.0 • Public • Published

Example

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

const {sensitiveWords} = require('sensitive-words');

const filtered = sensitiveWords(
  'The new apple mac book pro has touch bar',
  ['pro', 'bar']
)

console.log(filtered);
//The new apple mac book **** has touch ****

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i sensitive-words-rbrajbharath1

    Weekly Downloads

    1

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • rbrajbharath1