2.0.1 • Published 6 years ago

node-fixer-io v2.0.1

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

Node-fixer.io

Install

npm install node-fixer-io

Functions

fixer.get(callback);
fixer.allowedRates(); // Lists ISO_4217 codes available to convert
var newAmount = fixer.convert(fromCurrency, toCurrency, oldAmount); 

Example

fixer.get(function (err, res, body) {
  var GBP = fixer.convert("USD", "GBP", 10); // 10 US Dollars in British Pounds
  var USD = fixer.convert("EUR", "USD", 14); // 14 Euros in US Dollars
  var EUR = fixer.convert("GBP", "EUR", 27); // 27 British Pounds in Euros
});
2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

8 years ago

1.0.0

8 years ago