1.0.1 • Published 1 year ago

sam-currency-converter v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

sam-currency-converter

An npm package to convert currencies

Getting Started

🐇 Installation

Install sam-currency-converter with via your package manager:

npm install sam-currency-converter

Then import the convertCurrency component:

import {convertCurrency} from 'sam-currency-converter'

const fromCurrency = 'USD'; // From which currency to convert
const toCurrency = 'INR';   // To which currency to convert
const numberOfUnits = 5;    // Number of units to be converted

convertCurrency(fromCurrency, toCurrency, numberOfUnits).then(res=>console.log(res));

🧑‍🎓 License

sam-currency-converter is Apache licensed.

☎️ Contact

LINKEDIN

Don't forget to give a star to this repo if you liked it
1.0.1

1 year ago

1.0.0

1 year ago