1.0.1 • Published 9 years ago

reading-time-ms v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

#reading-time

This is a simple javascript function that estimates the reading duration of a string.

It is useful to set timeouts for various messages that appear in temporary UI elements such as popups and hints.

#Examples

var text = 'This is a simple javascript function that estimates the read duration of a string.';

alert('It takes ' + readingTime(text)) + 's to read this text:\n'+text);

See the examples folder for more examples