1.0.0 • Published 6 years ago
words-war v1.0.0
Example
$ npm install words-war
const 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 *****
1.0.0
6 years ago