How to calculate reading time, like Medium
Excerpt:
Recently, I took a leaf out of Medium's book and decided to add the estimated reading time to my blog posts. This was so that people could decide whether they had enough time to commit to the post before reading it.
The task was pretty simple. It was only 7 lines of JavaScript. I wrote it and implemented it in a single train journey to Leeds.
When I tweeted about it, I got a request to write an explanation of the code. So here it goes!
Read full article : How to calculate reading time, like Medium