ngryman/reading-time
:books: Medium's like reading time estimation. observed · 2026-08-28
Health v2 · maintenance only
30/100
- Activity 17
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4548
- days_rel: n/a
- days_push: 498
- n_releases_24m: 0
Adoption not part of the score
1429 stars · 47 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small TypeScript library that estimates how long a piece of text will take to read, in the style of Medium's reading time indicator. It works with plain text, markdown, and HTML, and supports both string input and streaming analysis.
Use cases
- estimate reading time for blog posts
- show 'x min read' on articles like Medium
- count words in markdown or html content
- compute reading time from a file stream
- customize words-per-minute for reading estimates
When to choose
- you need a lightweight, fast reading-time estimator for Node.js or the browser
- your content is plain text, markdown, or HTML and approximate counts are acceptable
- you want streaming word-count analysis of large files
When to avoid
- you need precise word extraction from complex markup or rich document formats
- you need readability scoring or other text analytics beyond word count and time
- you need support for languages without space-delimited words
Facets
library · maturity stable
nlp developer-tools web-development developer-tools browser reading-time word-count medium estimation typescript natural-language-processing nodejs javascript
2 sources
- readme: https://github.com/ngryman/reading-time · fetched 2026-08-28 · cac6270927e4
- registry_npm: https://registry.npmjs.org/reading-time · fetched 2026-08-29 · fff5c9b4a9ff
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ngryman/reading-time | main | 30 |
For agents
markdown · JSON · MCP: product_card(name="ngryman/reading-time")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem