3.0.0 • Published 12 months ago

ember-reading-time v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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