convertcurrency-p
v1.0.6
Published
Convert currency using currency codes
Maintainers
Readme
What is this ?
Package to convert currency using currency code
Installation
npm i convertcurrency-p
Usage
const CC = require ('convertcurrency-p')
CC.convertCurrency(fromCurrency,toCurrency,amount)
.then( () => //response)
.catch(() => //error)
Example
CC.convertCurrenct("USD","INR",100)
.then( () => //response)
.catch(() => //error)
Options
ConvertCurrency supports an option to just get Price per Unit
CC.convertCurrency(fromCurrency,toCurrency)Issues
If any issues are found, they can be reported here.
License
This project is licensed under MIT license.
