1.1.2 • Published 3 years ago

@beycandeveloper/currency-converter v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Currency Converter

npm MIT License

About

It takes on the task of converting between fiat and cryptocurrencies.

Installation

npm install --save @beycandeveloper/currency-converter

Usage

import CurrencyConverter from '@beycandeveloper/currency-converter';
//or
const CurrencyConverter = require('@beycandeveloper/currency-converter');


// 'coinmarketcap' can only use in backend. And it needs an API key.
let converter = new CurrencyConverter('cryptocompare | coinmarketcap', 'api key for coinmarketcap');
paymentPrice = await converter.convert('USD', 'BTC', 15 /* USD Price */);

paymentPrice // BTC Price
1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago