@jayant2k1/ai-currency-converter
v1.0.1
Published
An ultra powerfull currency converter powered by AI.
Downloads
2
Maintainers
Readme
AI Currency Converter
AI Currency Converter is a free currency API that provides realtime & historic data. This package is a JavaScript wrapper for freecurrencyapi.com that aims to make the usage of the API as easy as possible in your project.
Installation
npm
npm i @jayant2k1/ai-currency-converter
yarn
yarn add @jayant2k1/ai-currency-converter
Import
import { Convert } from "@jayant2k1/ai-currency-converter";
Function signature
Convert(base_currency, convertTo, units)
Usage
Convert("USD", "INR", 20).then((res) => console.log(res))
Currency List
| Code | Name | |------|-------------------------| | AUD | Australian Dollar | | BGN | Bulgarian Lev | | BRL | Brazilian Real | | CAD | Canadian Dollar | | CHF | Swiss Franc | | CNY | Chinese Yuan | | CZK | Czech Republic Koruna | | DKK | Danish Krone | | EUR | Euro | | GBP | British Pound Sterling | | HKD | Hong Kong Dollar | | HRK | Croatian Kuna | | HUF | Hungarian Forint | | IDR | Indonesian Rupiah | | ILS | Israeli New Sheqel | | INR | Indian Rupee | | ISK | Icelandic Króna | | JPY | Japanese Yen | | KRW | South Korean Won | | MXN | Mexican Peso | | MYR | Malaysian Ringgit | | NOK | Norwegian Krone | | NZD | New Zealand Dollar | | PHP | Philippine Peso | | PLN | Polish Zloty | | RON | Romanian Leu | | RUB | Russian Ruble | | SEK | Swedish Krona | | SGD | Singapore Dollar | | THB | Thai Baht | | TRY | Turkish Lira | | USD | US Dollar | | ZAR | South African Rand |
Get it on npmjs. Click here
Get it on Github. Click here
Licence
The project is developed by JAYANT.