https://github.com/onehilltech/ember-cli-numeraljs
https://github.com/onehilltech/ember-cli-numeraljs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/onehilltech/ember-cli-numeraljs
- Owner: onehilltech
- License: apache-2.0
- Created: 2018-11-03T02:50:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-24T15:55:12.000Z (about 4 years ago)
- Last Synced: 2025-02-27T01:02:46.100Z (2 months ago)
- Language: JavaScript
- Size: 432 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
ember-cli-numeraljs
==============================================================================an ember addon for [numeraljs](http://numeraljs.com/)
Compatibility
------------------------------------------------------------------------------* Ember.js v3.12 or above
* Ember CLI v2.13 or above
* Node.js v10 or aboveInstallation
------------------------------------------------------------------------------```
ember install ember-cli-numeraljs
```Usage
------------------------------------------------------------------------------The add-on provides a helper for formatting numbers:
```handlebars
{{numeral-format value format}}
```You can also import the numeral library in your application:
```javascript
import numeral from 'numeral';
```Contributing
------------------------------------------------------------------------------See the [Contributing](CONTRIBUTING.md) guide for details.
License
------------------------------------------------------------------------------This project is licensed under the [Apache-2.0](LICENSE.md).