3.0.2 • Published 1 year ago

@exodus/fiat v3.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@exodus/fiat

Fiat currency metadata. You should probably consume this through the @exodus/fiat-currencies package, which exports @exodus/currency instances for each fiat currency and enables you do unit-aware financial calculations safely.

Install

yarn add @exodus/fiat

Usage

const fiatCurrencies = require('@exodus/fiat')

console.log(fiatCurrencies)
// Sample output:
//
//  ...
//  "TRY": {
//    "label": "TRY - Turkish lira",
//    "symbol": "₺"
//  },
//  "TWD": {
//    "label": "TWD - New Taiwan dollar",
//    "symbol": "$"
//  },
//  "USD": {
//    "label": "USD - United States dollar",
//    "symbol": "$"
//  },
//  ...

console.log(Object.keys(fiatCurrencies))
// Sample output:
//
// ['AUD', 'BRL', 'CAD', 'CHF', ... ]
3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.4.0

2 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.0

4 years ago

2.0.0

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago