Open Source Contributions
I engineer lightweight, modular packages to simplify complex client tasks and help developers build faster, zero-overhead applications.
Weight
1 KB (gzipped)
Perf Rating
100/100
Deps Count
0 (Zero)
TS support
Native TS
1import {estimateReadTime} from 'count-read-time';2import fs from 'fs';34// Read raw Markdown content from any file or CMS5const markdownContent = fs.readFileSync('POST.md', 'utf-8');67// Automatically compute precise reading metrics8const readingStats = estimateReadTime(markdownContent);910console.log(readingStats);11count-read-time is a minimalist, zero-dependency engine built to calculate precise reading time across plain text, HTML, and Markdown. Instead of bloating your project with heavy parsers, it packs advanced analytical logic including dynamic image delay scaling and code-block parsing into a tiny 1 kB footprint (minified + gzipped). Engineered with native TypeScript types and out-of-the-box dual-module support (ESM + CommonJS), it's a plug-and-play solution for modern blogs, headless CMS setups, and high-performance engineering apps.