4.1.0 • Published 6 years ago

@nehasharma/currencyconventor v4.1.0

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

currency-convertor

An NPM to get your currency convertor to each other.

How it work:

Step 1 : npm install @nehasharma/currencyconventor

Step 2 : currencyConventor(price, baseCurrency, targetCurrency)

   -  price : integer/number eg - 50

   -  baseCurrency : string eg - 'USD'

   - targetCurrency : string eg - 'AUD'

currencyConventor(50,'usd', 'aud') // convert 50 USD to AUD

Dependencies:

  • axios latest version
  • Here we are using the fixer.io API for current currency rate

Any feedback ? Question?

neha@jslovers.com