0.2.0 • Published 7 years ago

finance-factors v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Standard - JavaScript Style Guide npm version Build Status Open Source Love Open Source Love

finance-factors

A Node.js package for calculation of basic financial factors.

Usage

First, install the package using npm:

npm install finance-factors --save

Then, require the package and use it like so:

// RequireJS
var financeFactors = require('finance-factors');

// ES6
import * as financeFactors from 'finance-factors';

// Present Worth Factor based on Single Payment
// with a 5% interest from 12 periods
console.log(financeFactors.singlePW(5, 12));

// Future Worth Factor based on Single Payment
// with a 5% interest over 12 periods
console.log(financeFactors.singleFW(5, 12));

License

This library is licensed under MIT.