# kalkuleight

> Node JS Practice

Latest version **1.2.0** (published 2023-08-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install kalkuleight
pnpm add kalkuleight
yarn add kalkuleight
bun add kalkuleight
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2023-08-03 |
| First published | 2023-08-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | VedantRawat |
| Maintainers | vedantbacancy |
| Keywords | kalkuleight |

## Links

- npm: https://www.npmjs.com/package/kalkuleight
- Repository: https://github.com/VedantRawatBacancy/kalkuleight
- Homepage: https://github.com/VedantRawatBacancy/kalkuleight#readme
- Issues: https://github.com/VedantRawatBacancy/kalkuleight/issues
- npm.io page: https://npm.io/package/kalkuleight

## Recent versions

- 1.2.0 (latest) — 2023-08-03
- 1.1.6 — 2023-08-02
- 1.1.5 — 2023-08-02
- 1.1.4 — 2023-08-02
- 1.1.3 — 2023-08-02
- 1.1.2 — 2023-08-02
- 1.1.1 — 2023-08-02
- 1.1.0 — 2023-08-02
- 1.0.0 — 2023-08-02

## README

# About The Package
Kalkuleight Helps You Calculate and Return the Compound Interest
You can get the total amount along with the interest, or the interest exclusively

# Installation

To install Kalkuleight, you can run the following command in the npm command line

```sh
npm install kalkuleight
```
or

```sh
npm i kalkuleight
```

# Syntax

To return the total amount that will be accumulated

```sh
kalkuleight(principal, rate, time, frequency).amount
```

To return the interest specifically,

```sh
kalkuleight(principal, rate, time, frequency).interest
```

# Syntax Explaination

The function returns rounded off values, which can be assigned to a variable, or be returned in JSX or JS directly.

# Use Case

The Code can be used in the following way

```

const p = 1000; //Constant with the principal value
const r = 10; //Constant with the rate of interest
const t = 10; //Constant with the tenure of compounding
const f = 2; //Constant with the frequency of compounding

const amount = kalkuleight(p,r,t,f).amount;
const interest = kalkuleight(p,r,t,f).interest;

console.log(amount);
console.log(interest);

```

---
_Source: https://npm.io/package/kalkuleight · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
