{"id":16341334,"url":"https://github.com/alx741/currencies","last_synced_at":"2025-10-26T00:30:33.175Z","repository":{"id":62435787,"uuid":"100755444","full_name":"alx741/currencies","owner":"alx741","description":"ISO 4217 Currencies representation, pretty printing and conversion.","archived":false,"fork":false,"pushed_at":"2024-04-08T06:05:34.000Z","size":41,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T02:47:52.338Z","etag":null,"topics":["currencies","haskell","library","money"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alx741.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":"2017-08-18T22:46:01.000Z","updated_at":"2020-08-05T17:11:43.000Z","dependencies_parsed_at":"2024-10-10T23:59:14.196Z","dependency_job_id":"73f4cd11-abf4-46e1-ace0-cb553edc30d7","html_url":"https://github.com/alx741/currencies","commit_stats":{"total_commits":64,"total_committers":2,"mean_commits":32.0,"dds":0.015625,"last_synced_commit":"99f5bde00814510aa5993940ffc179f543bdb3cd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fcurrencies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fcurrencies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fcurrencies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fcurrencies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alx741","download_url":"https://codeload.github.com/alx741/currencies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229940,"owners_count":19437723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["currencies","haskell","library","money"],"created_at":"2024-10-10T23:59:12.904Z","updated_at":"2025-10-26T00:30:32.803Z","avatar_url":"https://github.com/alx741.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/alx741/currencies.svg?style=svg)](https://circleci.com/gh/alx741/currencies)\n\n# currencies\n\nISO 4217 Currencies representation, pretty printing and conversion:\n\n* Represent monetary amounts of a particular currency in a type-safe manner\n* Convert amounts between different currencies\n* Print human readable amounts\n\n```haskell\nprettyPrint (Amount USD 2342.2)\n-- \"USD 2,342.20\"\n\nprettyPrint (Amount EUR 45827.346)\n-- \"EUR 45,827.35\"\n\nprettyPrintWith (defaultConfig { useCurrencySymbol = True }) (Amount USD 2342.2)\n-- \"$ 2,342.20\"\n\nprettyPrintWith (defaultConfig { useCurrencySymbol = True }) (Amount EUR 2342.2)\n-- \"€ 2,342.20\"\n\nprettyPrintWith (defaultConfig { showDecimals = False }) (Amount USD 25.50)\n-- \"USD 25\"\n\nconvert USD (Amount EUR 23482.34)\n-- Amount USD 27709.1612\n\nprettyPrint $ convert USD (Amount EUR 23482.34)\n-- \"USD 27,709.16\"\n\ncompareAmounts  (Amount EUR 1000) (Amount BTC 1) -- Compare to Bitcoin\n-- LT\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fcurrencies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falx741%2Fcurrencies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fcurrencies/lists"}