currency-converter-bd
v1.0.2
Published
An npm package to convert currency
Downloads
3
Readme
Currency Converter BD
Overview The "currency-converter-bd" npm package is a simple and lightweight library for converting currencies specifically targeted towards any conversions. It provides an easy-to-use interface for developers to integrate currency conversion functionality into their Node.js applications.
Installation You can install the package via npm:
npm install currency-converter-bd
Usage: const currencyConverter = require('currency-converter-bd'); const res = await currencyConverter("fromCurrency" , "toCurrency" , amount);
API convertUSDToBDT(usdAmount) Converts any currency of the given amount to given currency.
fromCurrency: Amount in "SPECIFIC" to convert to toCurrency. Returns a Promise that resolves with the converted amount in BDT.
Support For any inquiries or issues, feel free to open an issue on GitHub.
License This package is licensed under the Apache License 2.0. See the LICENSE file for details.