jackpot-annuity
====================
Generate a growing annuity schedule, calculate its present value and export the
payments to CSV. The library works in Node.js 20+ and modern browsers with no
runtime dependencies. Dollar inputs become integer-cent monetary outputs.
For an interactive comparison with federal and state tax estimates, use the
`lottery annuity calculator `_.
This package models payments before tax. It does not fetch live jackpots.
.. toctree::
:maxdepth: 2
api
formulas
examples
cash-offer
Installation
-----------------
.. code-block:: sh
npm install jackpot-annuity
npx jackpot-annuity 450M --format csv > schedule.csv
Related
-------
* `Export annuity schedules to CSV without losing cents `_
is a step-by-step tutorial built on this package.
* The `Jackpot Annuity editor extension `_
on Open VSX generates CSV or JSON schedules inside VS Code or VSCodium, offline.
Source and bugs
--------------------
The `source repository `_ includes a
browser demonstration, cross-platform tests, package verification and an MIT
license. Report bugs in `Issues `_.