Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dazzlingfugu/ember-reading-time

Medium-like reading time estimation for EmberJS.
https://github.com/dazzlingfugu/ember-reading-time

ember ember-addon emberjs hacktoberfest reading reading-time time

Last synced: 27 days ago
JSON representation

Medium-like reading time estimation for EmberJS.

Awesome Lists containing this project

README

        

# ember-reading-time

[![CI](https://github.com/DazzlingFugu/ember-reading-time/actions/workflows/ci.yml/badge.svg)](https://github.com/DazzlingFugu/ember-reading-time/actions/workflows/ci.yml)
[![Ember Observer Score](https://emberobserver.com/badges/ember-reading-time.svg)](https://emberobserver.com/addons/ember-reading-time)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Medium-like reading time estimation for EmberJS.

Based on [reading-time](https://github.com/ngryman/reading-time) and
[humanized-duration](https://github.com/EvanHahn/HumanizeDuration.js/) 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.

```hbs
{{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](CONTRIBUTING.md) guide for details.

## Contributors



GreatWizard


GreatWizard




MrChocolatine


MrChocolatine




yonmey


yonmey




ef4


ef4




ewjoachim


ewjoachim

## License

This project is licensed under the [MIT License](LICENSE.md).