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.

Installation

npm install jackpot-annuity
npx jackpot-annuity 450M --format csv > schedule.csv

Source and bugs

The source repository includes a browser demonstration, cross-platform tests, package verification and an MIT license. Report bugs in Issues.