1.0.1 • Published 1 year ago
read-estimate v1.0.1
read-estimate
read-estimate is a CLI tool to find out how long it will take to read books or documents within a directory.
Installation
Run
npm install -g read-estimateMake sure you have Node installed
Usage
read-estimate [options] [path]If no path is provided, it will process documents in the current directory.
Options
--wpm <number>: Set the words per minute reading speed (default: 200)--timesort: Sort results by reading time duration in descending order--help: Show help information
Examples
Process all supported documents in the current directory:
read-estimateProcess a single document:
read-estimate mybook.pdfProcess documents in a specific directory with custom reading speed:
read-estimate --wpm 250 /path/to/documentsProcess files and sort by reading time duration:
read-estimate --timesort /path/to/documentsSupported file formats
- PDF (.pdf)
- EPUB (.epub)
- Microsoft Word (.docx)
- Plain Text (.txt)
- Markdown (.md)
- Rich Text Format (.rtf)
- OpenDocument Text (.odt)
- HTML (.html)
License
This project is licensed under the MIT License.