ember-reading-time
v3.0.0
Published
Medium-like reading time estimation for EmberJS.
Downloads
21
Readme
ember-reading-time
Medium-like reading time estimation for EmberJS.
Based on reading-time and humanized-duration libraries.
Compatibility
- Ember.js v3.28 or above
- Ember CLI v3.28 or above
- Node.js v14 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.
{{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 guide for details.
Contributors
License
This project is licensed under the MIT License.