words-per-minute

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

Usage no npm install needed!

<script type="module">
  import wordsPerMinute from 'https://cdn.skypack.dev/words-per-minute';
</script>

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

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.