0.0.7 • Published 3 years ago

amortizationjs v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

amortization.js

amortization.js is a javascript package that calculates payment information for a loan or a mortgage.

Installation

npm i amortizationjs

Usage

import amortize from 'amortizationjs';
const totalAmount = 200_000;
const downPayment = 50_000;
const interestRate = 5;
const years = 30;
const paymentsPerYear = 12;
const loan = new Loan(
  totalAmount,
  downPayment,
  interestRate,
  years,
  paymentsPerYear
);

console.log(loan.total);
console.log(loan.payments);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago