Reusable financial calculation library for FERS, Social Security, retirement savings, and mortgage amortization
npm install financial-calcs!npm
!npm downloads
!build
!license
A lightweight, reusable TypeScript library to perform financial calculation. This package contains pure calculation functions for:
- Federal Employee Retirement System (FERS) Pension projection
- Retirement Savings projection
- Social Security Benefit projection
- Mortgage Amortization
All functions are decoupled from UI logic and can be used in any TypeScript or JavaScript project.
---
``bash`
npm install financial-calcs
or with Yarn:
`bash``
yarn add financial-calcs
---
- All functions are pure and have no side effects.
- Ideal for use in React, Vue, Node.js, or any TypeScript/JavaScript environment.
- Works well for building projection tables, charts, or integrating into financial planning tools.
---
If you want to contribute:
1. Fork the repository
2. Make your changes in a separate branch
3. Add unit tests
4. Open a pull request
---
MIT