words-war

1.0.0 • Public • Published

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 *****

Package Sidebar

Install

npm i words-war

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • ervinismu