sam-currency-converter

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i sam-currency-converter

Weekly Downloads

3

Version

1.0.1

License

Apache-2.0

Unpacked Size

13.5 kB

Total Files

4

Last publish

Collaborators

  • samir_alam_0