Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-17T22:52:25.000Z (about 6 years ago)
- Last Synced: 2024-10-01T12:50:33.122Z (3 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: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-helper-locale-number
[![npm version](http://badge.fury.io/js/ember-helper-locale-number.svg)](http://badge.fury.io/js/ember-helper-locale-number) ![downloads](https://img.shields.io/npm/dy/ember-helper-locale-number.svg) [![CircleCI](http://circleci.com/gh/cybertoothca/ember-helper-locale-number.svg?style=shield)](http://circleci.com/gh/cybertoothca/ember-helper-locale-number) [![Code Climate](http://codeclimate.com/github/cybertoothca/ember-helper-locale-number/badges/gpa.svg)](http://codeclimate.com/github/cybertoothca/ember-helper-locale-number) ![Dependencies](http://david-dm.org/cybertoothca/ember-helper-locale-number.svg) [![ember-observer-badge](http://emberobserver.com/badges/ember-helper-locale-number.svg)](http://emberobserver.com/addons/ember-helper-locale-number) [![License](http://img.shields.io/npm/l/ember-helper-locale-number.svg)](LICENSE.md)
## [DOCS](http://docs.ember-helper-locale-number.cybertooth.io)
## [DEMO](http://docs.ember-helper-locale-number.cybertooth.io/#hbs)
### Tested Against
[![ember-lts-2.4](https://img.shields.io/badge/ember--try-ember--lts--2.4-brightgreen.svg)](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[![ember-lts-2.8](https://img.shields.io/badge/ember--try-ember--lts--2.8-brightgreen.svg)](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[![ember-lts-2.12](https://img.shields.io/badge/ember--try-ember--lts--2.12-brightgreen.svg)](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)[![ember-release](https://img.shields.io/badge/ember--try-ember--release-brightgreen.svg)](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[![ember-beta](https://img.shields.io/badge/ember--try-ember--beta-brightgreen.svg)](https://circleci.com/gh/cybertoothca/ember-helper-locale-number)
[![ember-canary](https://img.shields.io/badge/ember--try-ember--canary-brightgreen.svg)](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 [email protected]: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.