calculate reading stats for your text files with scientific precision.
ever wondered how long it'll take to read that markdown file? or how many words are in your documentation? readlen gotchu covered with reading time estimates based on actual research¹.
# basic usage
bun x readlen README.md
# multiple files
bun x readlen docs/*.md
# recursive mode (process all text files in subdirectories)
bun x readlen docs/ -r
# install globally (if you want to)
bun install -g readlenfile: README.md
words: 142
characters: 824
paragraphs: 6
read time: ~1 minute(s)
- 🎯 accurate reading time estimates based on research
- 📁 process single files or entire directories
- 🔍 supports .txt, .md, .html, and .json files
- 📊 detailed stats (words, characters, paragraphs)
-t, --totalOnlyshow only totals-r, --recursiveprocess all text files in subdirectories-h, --helpshow help-v, --versionshow version
built with ❤️ using bun