CLI tool for "Medium-like reading time estimation" using https://github.com/ngryman/reading-time reading time library.
You can run this using either Docker or Node.js.
# Run from file with stdin
cat file.txt | docker run --rm -i celfring/reading-time --
# Run from file
docker run --rm -i -v $(pwd)/file.txt:/file.txt celfring/reading-time /file.txt
# Run from clipboard
pbpaste | docker run --rm -i celfring/reading-time --
(This assumes you are using a supported node version)
# Install node modules
npm install
# Run from file with stdin
cat file.txt | node reading-time.js --
# Run from file
node reading-time.js file.txt
# Run from clipboard
pbpaste | node reading-time.js --
Content type
Image
Digest
Size
39.1 MB
Last updated
almost 6 years ago
docker pull celfring/reading-time