{"id":23406246,"url":"https://github.com/zozs/curc","last_synced_at":"2025-04-08T23:38:22.106Z","repository":{"id":53412277,"uuid":"145248356","full_name":"zozs/curc","owner":"zozs","description":"Currency converter written in Node.js. Uses fixer.io for exchange rates.","archived":false,"fork":false,"pushed_at":"2021-03-30T22:39:24.000Z","size":309,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T18:24:49.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zozs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-18T19:47:41.000Z","updated_at":"2020-07-20T13:10:15.000Z","dependencies_parsed_at":"2022-08-27T16:11:24.316Z","dependency_job_id":null,"html_url":"https://github.com/zozs/curc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fcurc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fcurc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fcurc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fcurc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zozs","download_url":"https://codeload.github.com/zozs/curc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947823,"owners_count":21023058,"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":[],"created_at":"2024-12-22T13:33:01.449Z","updated_at":"2025-04-08T23:38:22.089Z","avatar_url":"https://github.com/zozs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"curc\n====\n\nCurrency converter written in Node.js. Uses fixer.io for exchange rates.\n\n## Installation\n\n`npm i` as usual.\n\n## Configuration\n\nSince fixer.io is used for exchange rates, registration is required to get API key, which is then added to the `.env` file.\n\nSee `.env.example` for an example. The default destination currency can be changed as well.\n\n## Usage\n\nExample input/output. Default destination currency is SEK. By writing the amount enclosed in parentheses,\narbitrary expressions can be evaluated before doing the currency conversion.\n\n```\ncurc\u003e 11.99eur\n11.99 EUR =\u003e\n  125.70 SEK\n\ncurc\u003e 10usd\n10.00 USD =\u003e\n  91.58 SEK\n\ncurc\u003e ((5+4.5)/2)eur\n4.75 EUR =\u003e\n  51.00 SEK\n\ncurc\u003e 30sek usd\n30.00 SEK =\u003e\n  3.28 USD\n\ncurc\u003e 40eur sek usd\n40.00 EUR =\u003e\n  419.36 SEK\n  45.79 USD\n```\n\n## License\n\n```\nCopyright 2018, 2019, Linus Karlsson\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzozs%2Fcurc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzozs%2Fcurc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzozs%2Fcurc/lists"}