Currency utility to get country, currency name and symbol given a currency code. Can also be used to retrieve all currencies.
Install
$ npm install currncy
Usage
Retrieve list of currency codes
var Currency = ; var currency = ;console;//=> ['ALL', 'AFN', ......, 'ZWD']
Retrieve currency information for a particular currency. Currency code is case insensitive.
var currency = 'usd'; console;//=> $ console;//=> US Dollar console;//=> United States
undefined is returned in case currency code is not found
var currency = 'XXX';console; **You can use the "get" method to retrieve the currency information as an object** ```jsvar currency = new Currency().get('INR');console.log(currency.symbol);//=> console.log(currency.name);//=> Indian Rupee console.log(currency.country);//=> India