/currency-resolver

provides a way to lookup currency codes via symbol or look up symbols via currency code

Primary LanguageJavaScript

currency-resolver Build Status

provides a way to lookup currency codes via symbol or look up symbols via currency code

install

npm install currency-resolver

or

bower install currency-resolver

examples

var CurrencyResolver = require('currency-resolver');

CurrencyResolver.getSymbol('USD'); // $
CurrencyResolver.getCode('$'); // USD

CurrencyResolver.getSymbol('GBP'); // £
CurrencyResolver.getCode('£'); // GBP