retim v0.2.0
Retim
Provide methods to estimate the reading time of a file or a setence.
Summary
Count the words of a setence
Count the words of a file
Functions
Count the words of a setence
Examples
iex> Retim.count("Hello World")
"1 minute"
iex> Retim.count("Hello World", 120)
"1 minute"
Count the words of a file.
Examples
iex> Retim.count_file("hello.md")
"4 minutes"
iex> Retim.count_file("hello.md", 120)
"7 minutes"