ember-reading-time

3.0.0 • Public • Published

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.

Package Sidebar

Install

npm i ember-reading-time

Weekly Downloads

6

Version

3.0.0

License

MIT

Unpacked Size

7.91 kB

Total Files

6

Last publish

Collaborators

  • mr.chocolatine
  • ndekeister-us
  • bluecut
  • njoyard
  • greatwizard