0.0.1 • Published 8 years ago

house-price-calculate v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

house-price-calculate

Estimate the total price of a house.

Install

npm install house-price-calculate
bower install house-price-calculate

Usage

const housePriceCalculate = require('house-price-calculate');

const price = housePriceCalculate({
  /* Monthly payment amount. */
  monthlyPayment: 2400,

  /* Down payment and closing costs. */
  downPayment: 20000,

  /* Annual mortgage percentage rate. */
  APR: 4.7,

  /* Term of mortgage loan. */
  termYears: 30,

  /* Closing costs as % of home purchase price. */
  closingCostsPercent: 3,

  /* Estimated annual mortgage and
   * property taxes as % of home sale's price.
   */
  annualEscrowPercent: 1.10
});

console.log(price); // 400043.5818770381

Test

npm test

License

MIT