1.1.2 • Published 3 years ago

@candis/currencies v1.1.2

Weekly downloads
214
License
-
Repository
-
Last release
3 years ago

CircleCI Maintainability

Currencies

This package includes a list of currencies and their respective formatting, based on existing standards including ISO 4217. The code is taken from CandisIO/candis because we haven't published a shared npm package yet.

Content

The currency entries in the JSON file include the following field structure (some of the listed fields are optional):

{
  "USD": {
    "symbol": "US$",
    "name": "US Dollar",
    "symbol_native": "$",
    "decimal_digits": 2,
    "rounding": 0,
    "code": "USD",
    "name_plural": "US dollars",
    "money_format": "${{amount}}",
    "money_with_currency_format": "${{amount}} USD",
    "decimal": ".",
    "thousand": ","
  }
}

How to publish a new version of this package

Please follow the instructions on the wiki

1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.1

5 years ago

1.0.0

5 years ago