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
const getMinutesFromText = getMinutesFromTextconst getWordsPerMinutes = getWordsPerMinutes const text = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.' // 1 // 639
Tested with English and Spanish characters.