Skip to content
github-actions[bot] edited this page Nov 26, 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.

This is a fork. BeardedUnicorn/TheTowerSDK is maintained by Mike Herold and published as @beardedunicorn/thetowersdk. It is forked from TmRxJD/TheTowerSDK, the original work of TmRxJD, whose package on npm is thetowersdk. See Credits.

npm install @beardedunicorn/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 tool_export.json 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 909 chartable series, each with an id to fetch it by, without you authoring one.

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

Versions. The package follows semantic versioning from 1.0.0 — see Versioning. Game data changes when the game does, so pin an exact version if you need the numbers frozen.


Game Wiki

Everything the SDK knows about the game, as pages: Game Wiki.

Pages

Guides

Examples

Templates

Clone this wiki locally