Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

financial-calcs

cloudful-io2.3kMIT1.6.15TypeScript support: included

Reusable financial calculation library for FERS, Social Security, retirement savings, and mortgage amortization

financial, calculations, FERS, Social Security, retirement, mortgage

readme

financial-calcs

npm npm downloads build license

A lightweight, reusable TypeScript library to perform financial calculation. This package contains pure calculation functions for:

All functions are decoupled from UI logic and can be used in any TypeScript or JavaScript project.


Installation

npm install financial-calcs

or with Yarn:

yarn add financial-calcs

Notes

  • 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.

Contributing

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

License

MIT