country-currency

1.0.1 • Public • Published

A map of countries' currency

A map of all ISO 3166-1 (country) alpha2 codes to an ISO 4217 currency code.

See also:

const currencies = require('country-currency');
 
console.log(currencies.map(c => c.country+''+c.currency));
    // AD, EUR
    // …
 
 
// export a Map
byCountry()
 
const byCountry = currencies.byCountry();
 
byCountry.has('DK');
    // true
 
byCountry.get('DK');
    // DKK

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.11,269latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.11,269
1.0.074

Package Sidebar

Install

npm i country-currency

Weekly Downloads

1,343

Version

1.0.1

License

MIT

Unpacked Size

13.4 kB

Total Files

6

Last publish

Collaborators

  • thomas-jensen