words-per-minute

1.1.2 • Public • Published

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.

/words-per-minute/

    Package Sidebar

    Install

    npm i words-per-minute

    Weekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • juliomatcom