censor-words

1.1.0 • Public • Published

Example

$ npm install censor-words
import { censorWords } from 'censor-words'
 
const filtered = censorWords('My name is Tien', ['Tien'])
 
console.log(filtered)
// My name is ***

Install

npm i censor-words

DownloadsWeekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

1.86 kB

Total Files

4

Last publish

Collaborators

  • tienp