country_currency_helper

Test and (dry-run) publish package

licence

Features

Pre-release, this package is still being developed ๐Ÿšง

Makes it easy to get the countries ISO information by country code and get currency information by country code. Not localization depended.

Function Description Implemented
Currency info from country code. Getting the currency info with the country code. ๐Ÿšง
Country iso from code. Getting country ISO from country code. โœ”๏ธ

Supported countries:

  • Afghanistan ๐Ÿ‡ฆ๐Ÿ‡ซ
  • Albania ๐Ÿ‡ฆ๐Ÿ‡ฑ
  • Algeria ๐Ÿ‡ฉ๐Ÿ‡ฟ
  • United States ๐Ÿ‡บ๐Ÿ‡ธ
  • American Samoa ๐Ÿ‡ฆ๐Ÿ‡ธ
  • Bonaire, Sint Eustatius and Saba ๐Ÿ‡ง๐Ÿ‡ถ
  • British Indian Ocean Territory ๐Ÿ‡ฎ๐Ÿ‡ด
  • Ecuador ๐Ÿ‡ช๐Ÿ‡จ
  • El Salvador ๐Ÿ‡ธ๐Ÿ‡ป
  • Guam ๐Ÿ‡ฌ๐Ÿ‡บ
  • Haiti ๐Ÿ‡ญ๐Ÿ‡น
  • Virgin Islands ๐Ÿ‡ป๐Ÿ‡ฎ
  • Marshall Islands ๐Ÿ‡ฒ๐Ÿ‡ญ
  • Micronesia ๐Ÿ‡ซ๐Ÿ‡ฒ
  • Northern Mariana Islands ๐Ÿ‡ฒ๐Ÿ‡ต
  • Palau ๐Ÿ‡ต๐Ÿ‡ผ
  • Puerto Rico ๐Ÿ‡ต๐Ÿ‡ท
  • Timor-Leste ๐Ÿ‡น๐Ÿ‡ฑ
  • Turks and Caicos Islands ๐Ÿ‡น๐Ÿ‡จ
  • Andorra ๐Ÿ‡ฆ๐Ÿ‡ฉ
  • Belgium ๐Ÿ‡ง๐Ÿ‡ช
  • Cyprus ๐Ÿ‡จ๐Ÿ‡พ
  • Germany ๐Ÿ‡ฉ๐Ÿ‡ช
  • Estonia ๐Ÿ‡ช๐Ÿ‡ช
  • Finland ๐Ÿ‡ซ๐Ÿ‡ฎ
  • France ๐Ÿ‡ซ๐Ÿ‡ท
  • French Southern Territories ๐Ÿ‡น๐Ÿ‡ซ
  • Greece ๐Ÿ‡ฌ๐Ÿ‡ท
  • Guadeloupe ๐Ÿ‡ฌ๐Ÿ‡ต
  • Ireland ๐Ÿ‡ฎ๐Ÿ‡ช
  • Italy ๐Ÿ‡ฎ๐Ÿ‡น
  • Latvia ๐Ÿ‡ฑ๐Ÿ‡ป
  • Lithuania ๐Ÿ‡ฑ๐Ÿ‡น
  • Luxembourg ๐Ÿ‡ฑ๐Ÿ‡บ
  • Malta ๐Ÿ‡ฒ๐Ÿ‡น
  • Martinique ๐Ÿ‡ฒ๐Ÿ‡ถ
  • Mayotte ๐Ÿ‡พ๐Ÿ‡น
  • Heard & McDonald Islands ๐Ÿ‡ญ๐Ÿ‡ฒ
  • Montenegro ๐Ÿ‡ฒ๐Ÿ‡ช
  • The Netherlands ๐Ÿ‡ณ๐Ÿ‡ฑ
  • Austria ๐Ÿ‡ฆ๐Ÿ‡น
  • Portugal ๐Ÿ‡ต๐Ÿ‡น
  • Rรฉunion ๐Ÿ‡ท๐Ÿ‡ช
  • Saint Pierre and Miquelon ๐Ÿ‡ต๐Ÿ‡ฒ
  • San Marino ๐Ÿ‡ธ๐Ÿ‡ฒ
  • Saint Barthรฉlemy ๐Ÿ‡ง๐Ÿ‡ฑ
  • Sint Maarten ๐Ÿ‡ธ๐Ÿ‡ฝ
  • Slovakia ๐Ÿ‡ธ๐Ÿ‡ฐ
  • Holy See ๐Ÿ‡ป๐Ÿ‡ฆ
  • ร…land Islands ๐Ÿ‡ฆ๐Ÿ‡ฝ
  • Angola ๐Ÿ‡ฆ๐Ÿ‡ด
  • Anguilla ๐Ÿ‡ฆ๐Ÿ‡ฎ
  • Argentina ๐Ÿ‡ฆ๐Ÿ‡ท
  • Australia ๐Ÿ‡ฆ๐Ÿ‡บ
  • Christmas Island ๐Ÿ‡จ๐Ÿ‡ฝ
  • Cocos (Keeling) Islands ๐Ÿ‡จ๐Ÿ‡จ
  • Kiribati ๐Ÿ‡ฐ๐Ÿ‡ฎ
  • Nauru ๐Ÿ‡ณ๐Ÿ‡ท
  • Norfolk Island ๐Ÿ‡ณ๐Ÿ‡ท
  • Tuvalu ๐Ÿ‡น๐Ÿ‡ป
  • Aruba ๐Ÿ‡ฆ๐Ÿ‡ผ
  • Azerbaijan ๐Ÿ‡ฆ๐Ÿ‡ฟ
  • Bosnia and Herzegovina ๐Ÿ‡ง๐Ÿ‡ฆ
  • Barbados ๐Ÿ‡ง๐Ÿ‡ง
  • Poland ๐Ÿ‡ต๐Ÿ‡ฑ
  • China ๐Ÿ‡จ๐Ÿ‡ณ
  • Russia ๐Ÿ‡ท๐Ÿ‡บ
  • United Arab Emirates ๐Ÿ‡ฆ๐Ÿ‡ช
  • Armenia ๐Ÿ‡ฆ๐Ÿ‡ฒ
  • Curaรงao ๐Ÿ‡จ๐Ÿ‡ผ
  • Sint Maarten ๐Ÿ‡ธ๐Ÿ‡ฝ
  • Barbados ๐Ÿ‡ง๐Ÿ‡ง
  • Bangladesh ๐Ÿ‡ง๐Ÿ‡ฉ
  • Bulgaria ๐Ÿ‡ง๐Ÿ‡ฌ
  • Bahrain ๐Ÿ‡ง๐Ÿ‡ญ
  • Burundi ๐Ÿ‡ง๐Ÿ‡ฎ
  • Bermuda ๐Ÿ‡ง๐Ÿ‡ฒ
  • Brunei ๐Ÿ‡ง๐Ÿ‡ณ
  • Bolivia ๐Ÿ‡ง๐Ÿ‡ด
  • Brazil ๐Ÿ‡ง๐Ÿ‡ท
  • The Bahamas ๐Ÿ‡ต๐Ÿ‡ฑ
  • Bhutan ๐Ÿ‡ง๐Ÿ‡น
  • Botswana ๐Ÿ‡ง๐Ÿ‡ผ
  • Belarusian ๐Ÿ‡ง๐Ÿ‡พ
  • Belize ๐Ÿ‡ง๐Ÿ‡ฟ
  • Canada ๐Ÿ‡จ๐Ÿ‡ฆ
  • Benin ๐Ÿ‡ง๐Ÿ‡ฏ
  • Burkina Faso ๐Ÿ‡ง๐Ÿ‡ซ
  • Cรดte d'Ivoire ๐Ÿ‡จ๐Ÿ‡ฎ
  • Guinea-Bissau ๐Ÿ‡ฌ๐Ÿ‡ผ
  • Mali ๐Ÿ‡ฒ๐Ÿ‡ฑ
  • Niger ๐Ÿ‡ณ๐Ÿ‡ช
  • Senegal ๐Ÿ‡ธ๐Ÿ‡ณ
  • Togo ๐Ÿ‡น๐Ÿ‡ฌ
  • Congo ๐Ÿ‡จ๐Ÿ‡ฌ
  • Switzerland ๐Ÿ‡จ๐Ÿ‡ญ
  • Liechtenstein ๐Ÿ‡ฑ๐Ÿ‡ฎ
  • Chile ๐Ÿ‡จ๐Ÿ‡ฑ
  • Colombia ๐Ÿ‡จ๐Ÿ‡ด
  • Costa Rica ๐Ÿ‡จ๐Ÿ‡ท
  • Cuba ๐Ÿ‡จ๐Ÿ‡บ
  • Cape Verde ๐Ÿ‡จ๐Ÿ‡ป
  • Czechia ๐Ÿ‡จ๐Ÿ‡ฟ
  • Djiboutian ๐Ÿ‡ฉ๐Ÿ‡ฏ
  • Denmark ๐Ÿ‡ฉ๐Ÿ‡ฐ
  • Dominican Republic ๐Ÿ‡ฉ๐Ÿ‡ด
  • Egypt ๐Ÿ‡ช๐Ÿ‡ฌ
  • Eritrea ๐Ÿ‡ช๐Ÿ‡ท
  • Ethiopia ๐Ÿ‡ช๐Ÿ‡น
  • Fiji ๐Ÿ‡ซ๐Ÿ‡ฏ
  • Falkland Islands ๐Ÿ‡ซ๐Ÿ‡ฐ
  • United Kingdom ๐Ÿ‡ฌ๐Ÿ‡ง
  • Isle of Man ๐Ÿ‡ฎ๐Ÿ‡ฒ
  • Jersey ๐Ÿ‡ฏ๐Ÿ‡ช
  • Guernsey ๐Ÿ‡ฌ๐Ÿ‡ฌ
  • Georgia ๐Ÿ‡ฌ๐Ÿ‡ช
  • Ghana ๐Ÿ‡ฌ๐Ÿ‡ญ
  • Gibraltar ๐Ÿ‡ฌ๐Ÿ‡ฎ
  • Gambia ๐Ÿ‡ฌ๐Ÿ‡ฒ
  • Guinea ๐Ÿ‡ฌ๐Ÿ‡ณ
  • Guatemala ๐Ÿ‡ฌ๐Ÿ‡น
  • Guyana ๐Ÿ‡ฌ๐Ÿ‡พ
  • Hong Kong ๐Ÿ‡ญ๐Ÿ‡ฐ
  • Honduras ๐Ÿ‡ญ๐Ÿ‡ณ
  • Croatia ๐Ÿ‡ญ๐Ÿ‡ท
  • Haiti ๐Ÿ‡ญ๐Ÿ‡น
  • Hungary ๐Ÿ‡ญ๐Ÿ‡บ
  • Indonesia ๐Ÿ‡ฎ๐Ÿ‡ฉ
  • Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
  • India ๐Ÿ‡ฎ๐Ÿ‡ณ
  • Iraq ๐Ÿ‡ฎ๐Ÿ‡ถ
  • Iran ๐Ÿ‡ฎ๐Ÿ‡ท
  • Iceland ๐Ÿ‡ฎ๐Ÿ‡ธ
  • Jamaican ๐Ÿ‡ฏ๐Ÿ‡ฒ
  • Jordan ๐Ÿ‡ฏ๐Ÿ‡ด
  • Japan ๐Ÿ‡ฏ๐Ÿ‡ต
  • Kenya ๐Ÿ‡ฐ๐Ÿ‡ช
  • Kyrgyzstan ๐Ÿ‡ฐ๐Ÿ‡ฌ
  • Cambodia ๐Ÿ‡ฐ๐Ÿ‡ญ
  • Comoros ๐Ÿ‡ฐ๐Ÿ‡ฒ
  • North Korean ๐Ÿ‡ฐ๐Ÿ‡ต
  • South Korean ๐Ÿ‡ฐ๐Ÿ‡ท
  • Kuwait ๐Ÿ‡ฐ๐Ÿ‡ผ
  • Cayman Islands ๐Ÿ‡ฐ๐Ÿ‡พ
  • Kazakhstan ๐Ÿ‡ฐ๐Ÿ‡ฟ
  • Laos ๐Ÿ‡ฑ๐Ÿ‡ฆ
  • Lebanon ๐Ÿ‡ฑ๐Ÿ‡ง
  • Sri Lanka ๐Ÿ‡ฑ๐Ÿ‡ฐ
  • Liberia ๐Ÿ‡ฑ๐Ÿ‡ท
  • Lesotho ๐Ÿ‡ฑ๐Ÿ‡ธ
  • Libya ๐Ÿ‡ฑ๐Ÿ‡พ

Changelog

See CHANGELOG.md.

Contributing

Feel free to contribute by opening issues and/or pull requests. Your feedback is very welcome!

License

MIT License

Copyright (c) 2020 qreate