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
- Host: GitHub
- URL: https://github.com/juliomatcom/words-per-minute
- Owner: juliomatcom
- Created: 2016-09-26T11:14:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-08T16:10:49.000Z (almost 9 years ago)
- Last Synced: 2025-04-03T07:39:04.997Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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').getWordsPerMinutesconst text = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.'
getMinutesFromText(text) // 1getWordsPerMinutes(3) // 639
```
Tested with English and Spanish characters.