Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

currency-converter-latest

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

currency-converter-latest

A versatile Nodejs package for seamless currency converter

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 02 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc