A simple library for currency symbols, names, and exchange rates.
var currencies = ;
Initially you have just a map of currency names and symbols, which you can
currenciesrate === 1currenciessymbol === '€';currenciesname === 'Polish Zloty';
Without an argument, returns the complete currencies map
Set a currency's rate (USD-relative) yourself
Calling this function will update the internal currencies map with current exchange rate, using data from European Central Bank.