Skip to content

Medium-like reading time estimation for EmberJS.

License

Notifications You must be signed in to change notification settings

DazzlingFugu/ember-reading-time

Repository files navigation

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.