loan-calculator
Basic Loan Calculator
Last updated 2 years ago by cgosiak .
ISC · Original npm · Tarball · package.json
$ cnpm install loan-calculator 
SYNC missed versions from official npm registry.

loan-calculator

Description:

Basic Loan Calculator

Javascript Usage

const LoanCalculator = require('loan-calculator').LoanCalculator;

var lc = new LoanCalculator();

var amortizationSchedule = lc.amortization.getAmortizationSchedule({
	amount: 10000,
	down: 1000,
	deferred: 3,
	term: 60,
	rate: 6.5
}, 60, [
    {
        month: 0,
        payment: 0
    }
]);

console.log(JSON.stringify(amortizationSchedule, null, 4));

Typescript Usage

import { LoanCalculator } from "loan-calculator";
import { Loan } from "loan-calculator/app/models/loan.model";

const lc = new LoanCalculator();

const loan =  new Loan(10000, 0, 0, 6, 6.5);
const amortization = lc.amortization.getAmortizationSchedule(loan, loan.term, []);

console.log(JSON.stringify(amortization, null, 4));

Current Tags

  • 3.0.21                                ...           latest (2 years ago)

46 Versions

  • 3.0.21                                ...           2 years ago
  • 3.0.19                                ...           2 years ago
  • 3.0.18                                ...           2 years ago
  • 3.0.17                                ...           2 years ago
  • 3.0.16                                ...           2 years ago
  • 3.0.15                                ...           2 years ago
  • 3.0.14                                ...           2 years ago
  • 3.0.13                                ...           2 years ago
  • 3.0.12                                ...           2 years ago
  • 3.0.11                                ...           2 years ago
  • 3.0.10                                ...           2 years ago
  • 3.0.9                                ...           2 years ago
  • 3.0.8                                ...           2 years ago
  • 3.0.7                                ...           2 years ago
  • 3.0.6                                ...           2 years ago
  • 3.0.5                                ...           2 years ago
  • 3.0.4                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 1.2.14                                ...           2 years ago
  • 1.2.13                                ...           2 years ago
  • 1.2.10                                ...           2 years ago
  • 1.2.9                                ...           2 years ago
  • 1.2.8                                ...           2 years ago
  • 1.2.7                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.5                                ...           2 years ago
  • 1.2.4                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 2
This Week 2
This Month 14
Last Day 0
Last Week 3
Last Month 66
Dependencies (0)
None
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |