1.17.0 • Published 1 year ago

js-code-currency-converter v1.17.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Getting started 🚀

Installation You can install the package via npm:

npm install js-code-currency-converter

NPM & Nodejs Latest Version

If your Node.js version is old, consider updating it to a newer one.

ES6 module

Utilize "type": "module" within the package.json file

Usage 💯

import {convertCurrency,setApiKey} from "js-code-currency-converter";

const fromCurrency = 'USD';
const toCurrency = 'INR';
const units = 2;

//If you have an API key then call these function

setApiKey("YOUR_SECRET_KEY"); //Set up the initial API key || Optional

// Call the convertCurrency function with dynamic values

convertCurrency(fromCurrency, toCurrency, units).then(res => {
	console.log(res);
}).catch(err => {
	console.error("An error occurred:", err);
});

Set Up key

Go to this link to get your own Personal API Key: Move

Image Description

Signup with a Google account then you get your personal API key

Image Description

Description

Upgrade your JavaScript projects easily with the js-code-currency-converter npm package. No more difficult math – this tool makes handling different currencies in your apps simple. It works with Nodejs and frameworks like Reactjs and Angular. Just install it and enjoy smooth currency conversion. Say goodbye to manual work and hello to smooth development. Get started today!

License

This project is licensed under the Apache LICENSE-2.0 © Hitesh Sharma

1.15.0

1 year ago

1.17.0

1 year ago

1.16.0

1 year ago

1.14.0

1 year ago

1.13.0

1 year ago

1.12.0

1 year ago

1.9.0

1 year ago

1.11.0

1 year ago

1.10.0

1 year ago

1.8.0

1 year ago

1.7.0

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago