1.0.6 • Published 3 years ago

convertcurrency-p v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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.

1.0.6

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago