Hacker News new | ask | show | jobs
by hswolff 3774 days ago
FYI: Made a similar npm module a while ago if you want this functionality locally: https://github.com/hswolff/read-time
1 comments

Thanks for sharing! The point here isn't just calculating the reading time based on a WPM metric, it's fetching a remote page, analyzing it to find the main content and then doing the maths, among other stuff taking into account any images.