1.1.0 • Published 7 years ago

country-currency-data v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

About

Array of currency information from different countries. Scraped from XE.

Install

$ npm install country-currency-data
# OR
$ yarn add country-currency-data

Usage

const data = require('country-currency-data')
console.log(data)
// [ { country: 'Albania', name: ' Lek', code: 'ALL', symbol: 'Lek' },
//   { country: 'Afghanistan',
//     name: ' Afghani',
//     code: 'AFN',
//     symbol: '؋' },
//   { country: 'Argentina', name: ' Peso', code: 'ARS', symbol: '$' },
//   { country: 'Aruba', name: ' Guilder', code: 'AWG', symbol: 'ƒ' },
//   { country: 'Australia',
//     name: ' Dollar',
//     code: 'AUD',
//     symbol: '$' },
//   { country: 'Azerbaijan New',
//     name: ' Manat',
//     code: 'AZN',
//     symbol: 'ман' }, ...]

Contributing

Contributions are welcome!

  1. Fork it.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or open up a issue.

License

Licensed under the MIT License.