convertcurrency-p

1.0.6 • Public • Published

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.

Package Sidebar

Install

npm i convertcurrency-p

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

9.95 kB

Total Files

5

Last publish

Collaborators

  • pratikbagmare