The Fastest NPM Package to transform data from one currency to another.
npm i fast-currency-transformer
-
fromCurrency
-> Takes the currency you want to convertfrom
. -
toCurrency
-> Takes the currency you want to convertto
. - value -> Takes the value / units of
fromCurrency
.
It will return the converted live currency value based on the real-time currency conversion data.
import { convertCurrency } from "fast-currency-transformer";
convertCurrency("fromCurrency", "toCurrency", value) // value: The value of the currency you want to convert from.
import { convertCurrency } from "fast-currency-transformer";
convertCurrency("INR", "USD", 58700) // It will convert Rs. 58700 INR into Latest value of $ USD