Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dazzlingfugu/ember-reading-time
- Owner: DazzlingFugu
- License: mit
- Created: 2021-09-17T07:56:00.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-06T11:04:47.000Z (about 1 month ago)
- Last Synced: 2024-10-10T11:05:41.170Z (27 days ago)
- Topics: ember, ember-addon, emberjs, hacktoberfest, reading, reading-time, time
- Language: JavaScript
- Homepage:
- Size: 1.07 MB
- Stars: 4
- Watchers: 12
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
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
MrChocolatine
yonmey
ef4
ewjoachim
## License
This project is licensed under the [MIT License](LICENSE.md).