Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anshsinghsonkhia/fast-currency-transformer
The Fastest NPM Package to transform data from one currency to another.
https://github.com/anshsinghsonkhia/fast-currency-transformer
currency-converter npm npm-package npmjs
Last synced: about 17 hours ago
JSON representation
The Fastest NPM Package to transform data from one currency to another.
- Host: GitHub
- URL: https://github.com/anshsinghsonkhia/fast-currency-transformer
- Owner: AnshSinghSonkhia
- License: apache-2.0
- Created: 2024-02-25T07:48:12.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-03-08T13:15:14.000Z (7 months ago)
- Last Synced: 2024-09-24T19:11:19.866Z (about 17 hours ago)
- Topics: currency-converter, npm, npm-package, npmjs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/fast-currency-transformer
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fast-currency-transformer
The Fastest NPM Package to transform data from one currency to another.
# Installation
```shell
npm i fast-currency-transformer
```# Usage
- `fromCurrency` -> Takes the currency you want to convert `from`.
- `toCurrency` -> Takes the currency you want to convert `to`.
- value -> Takes the value / units of `fromCurrency`.It will return the converted live currency value based on the real-time currency conversion data.
### Convert Currency:
```js
import { convertCurrency } from "fast-currency-transformer";convertCurrency("fromCurrency", "toCurrency", value) // value: The value of the currency you want to convert from.
```### Example Use-Case:
```js
import { convertCurrency } from "fast-currency-transformer";convertCurrency("INR", "USD", 58700) // It will convert Rs. 58700 INR into Latest value of $ USD
```