💵 Maps country codes (ISO 3166-1-alpha-2) to their default currency codes (ISO 4217)
Fixes #24
Fixes #23
Fixes #22
Fixes #21
Fixes #16 and includes #17, #18, #19, and #20 by @jasongitmail
Fixes #14 about South Georgia
Adds two union types (TypeScript 3.4+ only):
Currencies
, that contains all the currencies;Countries
, that contains all the countries.Example - TypeScript on NodeJS:
import countryToCurrency, { Currencies, Countries } from "country-to-currency";
Fixes #13 about El Salvador
CH
(Switzerland) to use CHF