unique-words-count

0.1.3 • Public • Published

unique-words-count NPM downloads Linux Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i unique-words-count

Weekly Downloads

23

Version

0.1.3

License

MIT

Unpacked Size

3.54 kB

Total Files

6

Last publish

Collaborators

  • thibaultboursier