0.2.0 • Published 12 months ago
anaprosarmogi-misthomaton v0.2.0
Interest Rate Calculator
This is an open-source npm package that calculates the default rate of interest. The latest rates are fetched from www.bankofgreece.gr.
You can test it here yperimeria.netlify.app.
Installation
To install this package, run the following command:
Usage
To use this package, import the getInterestRates
function and call it with the appropriate parameters:
import { getInterestRates } from "interest-rate-calculator";
const startDate = "2022-01-01";
const endDate = "2022-01-31";
const amount = 1000;
const result = getInterestRates(startDate, endDate, amount);
console.log(result);