Skip to content

Live exchange rates based on European Central Bank data

License

Notifications You must be signed in to change notification settings

tiborsaas/live-currency-exchange

 
 

Repository files navigation

Live currency exchange

Get currency exchange rates from the European Central Bank.

Install

$ npm i live-currency-exchange

Usage

const createExchange = require('exchange-rate');
const exchange = createExchange();
const {source, target, rate} = await exchange.convert({source: 'GBP', target: 'EUR'});

Response

{ source: 'GBP', target: 'EUR', rate: 1.1708 }

About

Live exchange rates based on European Central Bank data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%