UNPKG

count-words-repetitions

Version:

Count the number of repetitions of each word quickly and easily!

32 lines (17 loc) 684 B
[![MIT License](https://img.shields.io/github/license/alfredo-baratta/count-words-repetitions)](https://choosealicense.com/licenses/mit/) [![Issues](https://img.shields.io/github/issues/alfredo-baratta/count-words-repetitions)]() # Count words repetitions Count the number of repetitions of each word quickly and easily! ## Installation Install **count-words-repetitions** with npm ```bash npm install count-words-repetitions ``` ## Usage/Examples ```javascript const cwr = require("count-words-repetitions"); const array = cwr.countWordsRepetitions("test come stai? test"); console.log(array); ``` ## Authors - [@alfredobaratta](https://www.github.com/alfredo-baratta)