{"id":17087618,"url":"https://github.com/oschwald/currency-format","last_synced_at":"2026-04-30T17:32:09.348Z","repository":{"id":152225233,"uuid":"450290003","full_name":"oschwald/currency-format","owner":"oschwald","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-20T23:36:16.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T14:43:43.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oschwald.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-20T23:26:39.000Z","updated_at":"2022-01-20T23:27:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbbb8e95-faf1-4eea-b477-448addd5cc9d","html_url":"https://github.com/oschwald/currency-format","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oschwald/currency-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschwald%2Fcurrency-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschwald%2Fcurrency-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschwald%2Fcurrency-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschwald%2Fcurrency-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oschwald","download_url":"https://codeload.github.com/oschwald/currency-format/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschwald%2Fcurrency-format/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32472396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T13:34:15.675Z","updated_at":"2026-04-30T17:32:09.332Z","avatar_url":"https://github.com/oschwald.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Currency Format JSON\n\n[![npm version](https://badge.fury.io/js/currency-format.svg)](https://badge.fury.io/js/currency-format) [![bower version](https://badge.fury.io/bo/currency-format.svg)](https://badge.fury.io/bo/currency-format)\n\nJSON with information about currencies: codes (ISO 4217), the names, grapheme (symbols), fraction and formatting.\n\n## Installation\n\nCopy the JSON file into your project or use npm/bower package manager:\n\n- Execute the following command: `npm install currency-format` or `bower install currency-format`\n\n## Usage\n\nThe structure of the JSON file:\n\n```javascript\n{\n  'AMD': {                          // ISO 4217 currency code.\n     'name': 'Armenian Dram',       // Currency name.\n     'fractionSize': 2,             // Fraction size, a number of decimal places.\n     'symbol': {                    // Currency symbol information.\n         'grapheme': 'դր.',         // Currency symbol.\n         'template': '1 $',         // Template showing where the currency symbol should be located\n                                    // (before or after amount).\n         'rtl': false               // Writing direction.\n     },\n     'uniqSymbol': {                // Alternative currency symbol. We recommend to use it when you want\n                                    // to exclude a repetition of symbols in different currencies.\n         'grapheme': 'դր.',         // Alternative currency symbol.\n         'template': '1 $',         // Template showing where the alternative currency symbol should be\n                                    // located (before or after amount).\n         'rtl': false               // Writing direction.\n     }\n  },\n  ...\n}\n```\n\nsymbol/uniqSymbol field is `null`, when the currency has no symbol/alternative symbol.\n\n## Currency reference\n\nThe list of currency codes was taken from https://en.wikipedia.org/wiki/ISO_4217.\n\n## License\n\nThe MIT License.\n\nSee [LICENSE](https://github.com/xsolla/currency-format/blob/master/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschwald%2Fcurrency-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foschwald%2Fcurrency-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschwald%2Fcurrency-format/lists"}