1.0.1 • Published 6 years ago

word-counter-demo v1.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

WORD COUNTER

Counting word occurences in a text, ignores words shorter than 2 characters Example:

const wordCounter = require('word-counter-demo');

const words = wordCounter(`crème brulée! craime brulay? crem\
e brulee no yes creme`);

console.log(words);

Returns

{ 'crème': 1,
  'brulée!': 1,
  craime: 1,
  'brulay?': 1,
  creme: 2,
  brulee: 1,
  yes: 1 }

LICENSE

MIT

1.0.1

6 years ago

1.0.0

6 years ago