unique-words-count
v0.1.3
Published
It returns unique words count from text
Downloads
17
Readme
unique-words-count
It returns unique words from a text.
Install
Install with npm:
$ npm install --save unique-words-count
Usage
const uniqueWordsCount = require('unique-words-count');
const text = "It was a nice day. It was the best day in my life."
console.log(uniqueWordsCount(text)) //=> 10