Gathering detailed insights and metrics for reading-time-estimator
Gathering detailed insights and metrics for reading-time-estimator
Gathering detailed insights and metrics for reading-time-estimator
Gathering detailed insights and metrics for reading-time-estimator
react-reading-time-estimator
Medium's like reading time estimator for React.
reading-time-estimator-ng
<div align="center">
reading-time-estimator-promisse
Package to estimate the reading time from a text.
@colinarms/react-reading-time-estimator
Medium's like reading time estimator for React.
A medium's like reading time estimator with internationalization support
npm install reading-time-estimator
Typescript
Module System
Node Version
NPM Version
TypeScript (84.13%)
JavaScript (15.87%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
54 Stars
1,986 Commits
16 Forks
3 Watchers
1 Branches
12 Contributors
Updated on Jul 12, 2025
Latest Version
1.14.0
Package Id
reading-time-estimator@1.14.0
Unpacked Size
447.50 kB
Size
144.34 kB
File Count
27
NPM Version
10.5.0
Node Version
20.19.0
Published on
Apr 16, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
20
A medium's like reading time estimator with internationalization support.
Reading Time Estimator was created to provide an estimate of how long to read an article or blog as seen on medium.
With NPM
1 npm install reading-time-estimator
or Yarn
1 yarn add reading-time-estimator
The api is fairly simple. Here are the types definition for this module.
It is a simple function that takes the data as a required argument with the words per minute and locale as optional arguments.
Per default the locale is set to english en
.
Per default the word per minute is set to 300
.
At the moment it supports these locales: en
, fr
, es
, pt-br
, zh-cn
, zh-tw
, ja
, de
, tr
, ro
, bn
, sk
and cs
.
Try it live here
1import { readingTime } from 'reading-time-estimator' 2 3const text = 'some text to parse' 4 5// default options 6const result = readingTime(text, 10) 7 8// output: 9// { 10// minutes: 4, 11// words: 43, 12// text: `4 min read` 13// } 14 15// with french locale 16const result = readingTime(text, 10, 'fr') 17 18// output: 19// { 20// minutes: 4, 21// words: 43, 22// text: `4 min de lecture` 23// }
This package does not offer internationalization support which was a must for me.
Thanks goes to these wonderful people (emoji key):
Lucien Bénié 💻 📖 | Victor Sierra 💻 | ZhangC 💻 | Rich11 💻 📖 | Matheus Oliveira 💻 | Can Güven 💻 | Alexander Strutz 💻 |
凝结尾迹 💻 | Muhammad Faisal Amin 💻 | Oliver Groma 💻 | Luo Wenjie 💻 | CK Wong 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
SAST tool is run on all commits
Details
Reason
Found 0/1 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More