An open API service indexing awesome lists of open source software.

https://github.com/juliomatcom/words-per-minute

:book: Words per minute is a common metric for assessing reading speed. Calculate it with JS
https://github.com/juliomatcom/words-per-minute

Last synced: 6 months ago
JSON representation

:book: Words per minute is a common metric for assessing reading speed. Calculate it with JS

Awesome Lists containing this project

README

          

# words-per-minute A.K.A Reading Time
Words per minute is a common metric for assessing reading speed. Calculate it with JS

### Install

`$ npm install words-per-minute --save`

### Usage
```javascript
const getMinutesFromText = require('words-per-minute').getMinutesFromText
const getWordsPerMinutes = require('words-per-minute').getWordsPerMinutes

const text = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.'
getMinutesFromText(text) // 1

getWordsPerMinutes(3) // 639

```

Tested with English and Spanish characters.