Socket
Socket
Sign inDemoInstall

list-of-currencies

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    list-of-currencies

Updated list of currencies based on openexchangerates.org


Version published
Weekly downloads
160
decreased by-27.6%
Maintainers
1
Install size
4.50 kB
Created
Weekly downloads
 

Readme

Source

list-of-currencies

npm

List of currencies based on openexchangerates.org in JSON format. The list is most up to date and only include real life currencies (no historical data or currencies that no longer exist).

Installation

NPM

$ npm i list-of-currencies

ES6

import Currencies from 'list-of-currencies'

new Vue({
  components: {
    CurrenciesList: Currencies
  }
})

Usage

You can either use the simple list (default):

[
  "AED",
  "AFN",
  "ALL",
  "AMD",
  "ANG",
  "AOA",
  "ARS",
  "AUD",
  "AWG",
  ...

Or list with names:

{
  "AED": "United Arab Emirates Dirham",
  "AFN": "Afghan Afghani",
  "ALL": "Albanian Lek",
  "AMD": "Armenian Dram",
  "ANG": "Netherlands Antillean Guilder",
  "AOA": "Angolan Kwanza",
  "ARS": "Argentine Peso",
  "AUD": "Australian Dollar",
  "AWG": "Aruban Florin",
  ...

If you want to use list with names, import the JSON as follows:

import Currencies from 'list-of-currencies/currencies-with-names.json'

Keywords

FAQs

Last updated on 01 Dec 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc