currency-converter-latest

1.0.1 • Public • Published

currency-converter-latest 🌍💱

Currency Converter Latest is a Node.js package that simplifies currency conversion tasks by providing access to the latest exchange rates. With support for a wide range of currencies, it offers developers a straightforward solution for integrating currency conversion functionalities into their applications.

Features 🚀

  • Access the latest exchange rates from various sources.
  • Convert between different currencies effortlessly.
  • Support for a comprehensive list of currencies.
  • Lightweight and easy-to-use API for seamless integration.
  • Reliable and accurate currency conversion calculations.

Installation 💻

You can install currency-converter-latest via npm:

npm install currency-converter-latest

Usage 🤖

javascript

import { convertCurrency } from "currency-converter-latest";

// Convert 5 USD to INR
convertCurrency('USD', 'INR', 5)
  .then(result => {
    console.log(`5 USD is approximately ${result} INR`);
  })
  .catch(error => {
    console.error('Conversion failed:', error);
  });

This includes the example code you provided, demonstrating how to use the convertCurrency function to convert 5 USD to INR.

Readme

Keywords

none

Package Sidebar

Install

npm i currency-converter-latest

Weekly Downloads

17

Version

1.0.1

License

Apache-2.0

Unpacked Size

2.44 kB

Total Files

3

Last publish

Collaborators

  • karan4342