thibaultboursier / unique-words-count

It returns unique words from a text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

It returns unique words from a text

License:MIT License


Languages

Language:JavaScript 100.0%