DazzlingFugu / ember-reading-time

Medium-like reading time estimation for EmberJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GreatWizard
GreatWizard
MrChocolatine
MrChocolatine
yonmey
yonmey
ef4
ef4
ewjoachim
ewjoachim

License

This project is licensed under the MIT License.

About

Medium-like reading time estimation for EmberJS.

License:MIT License


Languages

Language:JavaScript 84.8%Language:HTML 13.6%Language:Handlebars 1.6%