fixer-rate
A foreign exchange rates and currency conversion API.
The rates are updated daily around 4PM CET.
Install
$ npm install --save fixer-rate
Usage
API
.getRates(base)
base
Type: string
Default: USD
Options: options
get the latest rates
.convert(value, currencies)
value
Type: number
Default: 1
Required
currencies
Type: object
{from: CURRENCY_1, to: CURRENCY_2}
Required
convert from a currency to another.
License
MIT © Bu Kinoshita