Currency information in JSON
JavaScript
Latest commit 4f57ea2 Aug 5, 2016 @wiredmax 0.0.6
Permalink
Failed to load latest commit information.
dist/json russian and belorussian roubles update Aug 5, 2016
src russian and belorussian roubles update Aug 5, 2016
.gitignore Initial commit! :) Jul 25, 2014
CHANGELOG.md Updated CHANGELOG Aug 5, 2016
Gruntfile.js The Gruntfile now clears the content of dist before execution prevent… Jul 25, 2014
LICENSE
README.md Fixed README.md changelog broken link Aug 12, 2014
bower.json Added missing major symbol for Indian Ruppies Aug 20, 2014
index.js Renamed project from currency to world-currencies Aug 12, 2014
package.json

README.md

Currency information in JSON.

This repository contains currency information for currencies contained in ISO 4217 in JSON format.

Example

{
    "CAD": {
        "name": "Canadian Dollar",
        "iso": {
            "code": "CAD",
            "number": "124"
        },
        "units": {
            "major": {
                "name": "dollar",
                "symbol": "$"
            },
            "minor": {
                "name": "cent",
                "symbol": "¢",
                "majorValue": 0.01
            }
        },
        "banknotes": {
            "frequent": [
                "5$",
                "10$",
                "20$",
                "50$",
                "100$"
            ],
            "rare": [
                "1$",
                "2$",
                "500$",
                "1000$"
            ]
        },
        "coins": {
            "frequent": [
                "1$",
                "2$",
                "",
                "10¢",
                "25¢"
            ],
            "rare": [
                "",
                "50¢"
            ]
        }
    }
}

How to contribute?

You can simply submit a pull request and I'll gladly review them and merge them if the changes are acceptable.

  • Indent using spaces with a tab width of 4 in the json5 source.
  • Make sure to rebuild the distribution version by executing grunt before submiting a pull request.
  • Only static data (no exchange rate data or inflation value)

Change log

See the change log.

To do

  • All the currency in ISO 4217 with their respective information and details.
  • i18n of currency names and units
  • More formats such as XML, YAML and CSV.
  • Countries using currency.
  • Central bank accociated to the currency and it's related information like the location and website, etc.

Sources

http://www.currency-iso.org

http://www.xe.com/iso4217.php

The rest comes from Wikipedia

License

See LICENSE.