@accubits/currency-converter
v0.0.2
Published
![alt text <>](https://accubits-image-assets.s3-ap-southeast-1.amazonaws.com/currency-converter/currency.png "")
Downloads
6
Readme
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)
})