blacklisted-words
1.0.1 • Public • Published BlackListed Words
replace all the instances of your blacklisted words with asterisks
Example
$ npm install blacklisted-words --save
const {blacklistedWords} = require('blacklisted-words');
import {blacklistedWords} from 'blacklisted-words';
const filtered = blacklistedWords(
'The shinigami Kenpachi Zaraki does not know the name of his Zanpakutō.',
['shinigami', 'Zanpakutō'],
'***'
);
console.log(filtered);
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
1
Version History
Package Sidebar
Install
Weekly Downloads