Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hswolff
· 10y ago · 0 comments
FYI: Made a similar npm module a while ago if you want this functionality locally:
https://github.com/hswolff/read-time
Comments
[–]
mklopets
10y ago
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.