This ember addon is maintained by Media Pop, a software consultancy. Hire us to solve your web application challenges.
An ember helper wrapper for humanize's most useful functions that are unavailable in vanilla JS and native Ember.js
ember install @mediapop/ember-humanize
Use in any template. You can also customise the display using the optional named parameters.
humanize-compact-number
Shortens the number to well known abbreviations.
humanize-number
similar to JS's toLocaleString()
but with custom control over thousands and decimal seperators
humanize-ordinal-number
expresses numbers in their ordinal form
git clone https://github.com/mediapop/ember-humanize
cd ember-humanize
npm install
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.