1.4.0 • Published 11 months ago

forexmate v1.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

forexmate

forexmate is a simple and easy-to-use Node.js package that allows you to convert currency values using real-time exchange rates. It’s perfect for applications that require currency conversion functionality.

Installation

To install forexmate, use npm:

npm install forexmate

Usage

Here’s a basic example of how to use forexmate: alt text alt text

API

forexExchange(fromCurrency: string, toCurrency: string, amount: number): Promise<number>

  • fromCurrency: The currency code you want to convert from (e.g., 'USD').
  • toCurrency: The currency code you want to convert to (e.g., 'EUR').
  • amount: The amount of money to convert.

Returns a promise that resolves with the converted currency value

1.4.0

11 months ago

1.3.0

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago