1.1.2 • Published 2 years ago

cc-currency-converter v1.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

cc-currency-converter

An npm package to convert currencies

Installation

Install the package using npm:

npm install cc-currency-converter

Import

Import the package by using the following block of code

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

Ussage

convertCurrency("USD", "INR", 4)
  .then((result) => {
    console.log(result);
  })
  .catch((error) => {
    console.error("Error:", error.message);
  });
1.1.1

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago