Currency Converter
A currency convertion utility , which can be used to calculate the forex value of te currency.
Installation
Install the package with:
npm i @accubits/currency-converter
USAGE
let converter = require('@accubits/currency-converter')
Get Available currencies
let converter = require('@accubits/currency-converter')
converter.getCurrencies().then(currencies=>{
console.log(res)
})
Conversions
Example : Convert 200 USD to INR
let converter = require('@accubits/currency-converter')
converter.convert('USD','INR',200).then(res=>{
console.log(res)
})