fluentfinance
v1.0.4
Published
Provide common finance calculations to the world of javaScript.
Downloads
1
Maintainers
Readme
Fluent Finance
An npm Package to provide financial calculation to the world of JavaScript.
Basic Usage
// Import Package
var ff = require("fluentfinance");
// Setup loan details
var loanDetails = new ff.LoanDetails();
loanDetails.Rate = 12 / 1200;
loanDetails.NPer = 360;
loanDetails.PV = 150000;
loanDetails.FV = 0;
loanDetails.Due = 0;
// Get the payment
console.log(ff.pmt(loanDetails));