@cebiche/sensitive-words

1.0.0 • Public • Published

Example

npm install sensitive-words -D
const { sensitiveWords } = require('sensitiveWords')
// ESM
import { sensitiveWords } from 'sensitiveWords'

const filtered = sensitiveWords('The new apple macbook pro', ['pro', 'apple'])

console.log(filtered)
// The new *** macbook ***

Package Sidebar

Install

npm i @cebiche/sensitive-words

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.18 kB

Total Files

5

Last publish

Collaborators

  • paulrrdiaz