Skip to content

Latest commit

 

History

History
95 lines (69 loc) · 2.66 KB

README.md

File metadata and controls

95 lines (69 loc) · 2.66 KB

ember-reading-time

CI Ember Observer Score License: MIT

Medium-like reading time estimation for EmberJS.

Based on reading-time and humanized-duration 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.

{{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

GreatWizard
GreatWizard
MrChocolatine
MrChocolatine
yonmey
yonmey
ef4
ef4
ewjoachim
ewjoachim

License

This project is licensed under the MIT License.