words-war
v1.0.0
Published
Filter out a list of sensitive words
Readme
Example
$ npm install words-warconst wordsWar = require('words-war')
// ES2015 modules
import wordsWar from 'words-war '
const filtered = wordsWar(
'The new apple macbook pro will have a touchbar',
['pro', 'touchbar']
)
console.log(filtered)
// The new apple macbook ***** will have a *****