
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@colinarms/react-reading-time-estimator
Advanced tools
Medium's like reading time estimator for React.
Medium's like reading time estimator for React.
react-reading-time-estimator helps you estimate how long an article will take to read. It works perfectly with plain text.
react-reading-time-estimator is available on npm. It can be installed with the following command:
npm install react-reading-time-estimator --save
react-reading-time-estimator is available on yarn as well. It can be installed with the following command:
yarn add react-reading-time-estimator
import { useReadingTime } from "react-reading-time-estimator";
const {
text, // 1 min read
minutes, // 1
words, // 168
time, // 0.5309090909090909
} = useReadingTime(text);
useReadingTime(text: string)
text – the text to be estimated.If you think any of the react-reading-time-estimator can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.
We'd love to have your helping hand on contributions to react-reading-time-estimator by forking and sending a pull request!
Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)
How to contribute:
FAQs
Medium's like reading time estimator for React.
We found that @colinarms/react-reading-time-estimator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.