https://github.com/cybertoothca/ember-helper-locale-number
Three helpers optimized to format numbers according to the website visitor's locale.
https://github.com/cybertoothca/ember-helper-locale-number
currency-formatter formatter locale number-formating number-formatter percent
Last synced: 10 months ago
JSON representation
Three helpers optimized to format numbers according to the website visitor's locale.
- Host: GitHub
- URL: https://github.com/cybertoothca/ember-helper-locale-number
- Owner: cybertoothca
- License: mit
- Created: 2017-12-02T04:22:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-17T22:52:25.000Z (over 7 years ago)
- Last Synced: 2025-07-06T00:38:28.730Z (11 months ago)
- Topics: currency-formatter, formatter, locale, number-formating, number-formatter, percent
- Language: JavaScript
- Homepage: http://docs.ember-helper-locale-number.cybertooth.io
- Size: 98.6 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-helper-locale-number
[](http://badge.fury.io/js/ember-helper-locale-number)  [](http://circleci.com/gh/cybertoothca/ember-helper-locale-number) [](http://codeclimate.com/github/cybertoothca/ember-helper-locale-number)  [](http://emberobserver.com/addons/ember-helper-locale-number) [](LICENSE.md)
## [DOCS](http://docs.ember-helper-locale-number.cybertooth.io)
## [DEMO](http://docs.ember-helper-locale-number.cybertooth.io/#hbs)
### Tested Against
[](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
# Collaboration Information
This README outlines the details of collaborating on this Ember add-on.
## Installation
* `git clone git@github.com:cybertoothca/ember-helper-locale-number.git`
* `cd ember-helper-locale-number`
### With NPM
```
npm install
```
### With Yarn
```
yarn
```
## Running
* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).
## Running Tests
* `npm test` (Runs `ember try:each` to test your add-on against multiple Ember versions)
* `ember test`
* `ember test --server`
## Building
* `ember build`
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
# Linking This Add-on For Local Testing
## Linking
1. From the command line at the root of __this__ project run the
`npm link` command to _link_ this add-on within your local
node repository.
1. From the _other_ Ember project that you wish to test this add-on
in, execute the following command:
`npm link ember-helper-locale-number`.
1. Now in that same _other_ Ember project, you should go into the
`package.json` and add the ember add-on with the version _*_. It will
look something like this: `"ember-helper-locale-number": "*"`. Now
when/if you execute `npm install` on this _other_ project it
will know to look for the linked add-on rather than fetch it from
the central repository.
## Unlinking
1. Remove the add-on from your local node repository with the following
command (that can be run anywhere):
`npm uninstall -g ember-helper-locale-number`
1. Remove the reference to the `ember-helper-locale-number`
in your _other_ project's `package.json`.
1. Run an `npm prune` and `bower prune` from the root of your _other_ project's command line.