Skip to content
Josh Dionne edited this page Sep 4, 2026 · 5 revisions

Generated from the thetowersdk repository. Edits made here are overwritten on the next push — change the source file instead.

TheTowerSDK

Game data, save-file reading and the game's own formulas for The Tower, as typed TypeScript — so you can build calculators, planners, spreadsheets, charts and bots without transcribing a single number by hand.

npm install thetowersdk
  • Game data — labs, workshop, modules, cards, perks, relics, guardians, bots, ultimate weapons and the vault, with their cost curves and effect values, as typed arrays.
  • Save reading — turn a player's playerInfo.dat into typed values: what they have researched, what they own, what is equipped, their run history.
  • Formulas — enemy scaling, damage, ultimate weapons, drops and workshop stats, as functions you call with a tier, a wave or a level.
  • Charts — every level progression is already a plot-ready series, so the shipped catalogs cover 800 chartable series without you authoring one.

TypeScript, MIT licensed, one runtime dependency (zod).

Pre-1.0. The package is published so it can be installed and exercised, not because the API is settled. Exports may be renamed or removed between releases without deprecation. Pin an exact version if you depend on it.


Pages

Guides

Examples

Templates

Clone this wiki locally