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