Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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.

Install

npm i words-per-minute

DownloadsWeekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • avatar