https://github.com/dazzlingfugu/ember-reading-time
Medium-like reading time estimation for EmberJS.
https://github.com/dazzlingfugu/ember-reading-time
ember ember-addon emberjs hacktoberfest reading reading-time time
Last synced: 8 months ago
JSON representation
Medium-like reading time estimation for EmberJS.
- Host: GitHub
- URL: https://github.com/dazzlingfugu/ember-reading-time
- Owner: DazzlingFugu
- License: mit
- Created: 2021-09-17T07:56:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-05T22:10:57.000Z (over 1 year ago)
- Last Synced: 2025-02-05T22:41:57.623Z (over 1 year ago)
- Topics: ember, ember-addon, emberjs, hacktoberfest, reading, reading-time, time
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 4
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ember-reading-time
[](https://github.com/DazzlingFugu/ember-reading-time/actions/workflows/ci.yml)
[](https://emberobserver.com/addons/ember-reading-time)
[](https://opensource.org/licenses/MIT)
Medium-like reading time estimation for EmberJS.
Based on [reading-time](https://github.com/ngryman/reading-time) and
[humanized-duration](https://github.com/EvanHahn/HumanizeDuration.js/) libraries.
## Compatibility
* Ember.js v4.12 or above
* Ember CLI v4.12 or above
* Node.js v18 or above
## Installation
```
ember install ember-reading-time
```
## Usage
By default, `reading-time` helper will humanize down to the minute and use english as language.
```hbs
{{reading-time 'My text here'}}
{{reading-time 'My text here' (hash language='ja')}}
```
### Options
All options from `humanize-duration` are available:
https://github.com/EvanHahn/HumanizeDuration.js#options
## Contributing
See the [Contributing](CONTRIBUTING.md) guide for details.
## Contributors
GreatWizard
MrChocolatine
yonmey
ef4
ewjoachim
## License
This project is licensed under the [MIT License](LICENSE.md).