README
Currency Format JSON
JSON with information about currencies: codes (ISO 4217), the names, grapheme (symbols), fraction and formatting.
Installation
Copy the JSON file into your project or use npm/bower package manager:
- Execute the following command:
npm install currency-format
orbower install currency-format
Usage
The structure of the JSON file:
{
'AMD': { // ISO 4217 currency code.
'name': 'Armenian Dram', // Currency name.
'fractionSize': 2, // Fraction size, a number of decimal places.
'symbol': { // Currency symbol information.
'grapheme': 'դր.', // Currency symbol.
'template': '1