Repository navigation
Entry Points
github-actions[bot] edited this page Nov 21, 2026
·
1 revision
Generated from the thetowersdk repository. Edits made here are overwritten on the next push — change the source file instead.
| Import | Contains | Browser-safe |
|---|---|---|
@beardedunicorn/thetowersdk/data |
Game tables — costs, levels, effects, catalogs | Yes |
@beardedunicorn/thetowersdk/save |
read*FromSaveRoot() readers and save inspection |
Yes |
@beardedunicorn/thetowersdk/node |
The save decoder | Node — see below |
@beardedunicorn/thetowersdk/save-decoder |
The same decoder with no Node imports, for the browser | Yes |
@beardedunicorn/thetowersdk/formatting |
Number and duration formatting matching the game | Yes |
@beardedunicorn/thetowersdk/mechanics |
Game formulas — see below | Yes |
@beardedunicorn/thetowersdk/wiki |
Fandom wikitext → Markdown — see below | Yes |
@beardedunicorn/thetowersdk/contributions |
Whose work this package carries, as data | Yes |
@beardedunicorn/thetowersdk/charts |
Curated chart catalog and its data — see below | Yes |
@beardedunicorn/thetowersdk/builders |
Ready-made calculators — see below | Yes |
@beardedunicorn/thetowersdk/calculators |
Every exported formula declared by name — what it reads, what it produces, how to call it | Node |
@beardedunicorn/thetowersdk/bot |
Command registry, and every calculator as a command — see below | Yes |
@beardedunicorn/thetowersdk/sheets |
Google Sheets reads and writes — see below | Yes |
@beardedunicorn/thetowersdk/knowledge |
The mechanics oracle, and five years of patch notes — see below | Yes |
@beardedunicorn/thetowersdk/assets |
Path helpers for artwork you supply — see below | Yes |
import { … } from '@beardedunicorn/thetowersdk' re-exports data, save and formatting together. Prefer the
subpaths in real projects so your bundler can drop what you don't use.
import { computeWaveBaseHealth, abilityDamage } from '@beardedunicorn/thetowersdk/mechanics'
import { formatDuration } from '@beardedunicorn/thetowersdk/formatting'Generated from TheTowerSDK — do not edit here. Docs and live demos: https://beardedunicorn.github.io/TheTowerSDK/
- Workshop
- Workshop Enhancements
- Labs
- Cards
- Modules
- Module Rarities and Merging
- Module Substats
- Module Upgrade Costs
- Ultimate Weapons
- Ultimate Weapon Plus
- Bots
- Guardian
- Relics
- Themes
- Tiers
- Battle Conditions
- Enemies
- Perks
- Tournaments
- Milestones
- The Vault
- Daily Missions
- Guild
- Currencies
- Reference Tables
- Glossary
- Irreversible Upgrades
- Game Patch Notes
- Game Version History
SDK
- Quick Start
- Entry Points
- How It Fits Together
- Getting an Official Game Export
- Reading a Save
- Reading The Community Wiki
- Game 29.1 Data
- Formulas
- Builders
- Charts
- Effective Paths
- Examples
- Templates
- Building a Bot On This
- Google Sheets
- Desktop and Mobile
- Optional Add-ons
- Using It With An AI Agent
- Using Your Own Artwork
- Names And Acronyms
- Patch Notes
- Accuracy
- Versioning
- Where the Docs Live
- Contributing
- Credits
- License
Guides
Examples
- 01-browse-game-data.ts
- 02-read-a-save-file.ts
- 03-plan-upgrades-from-a-save.ts
- 04-generate-a-chart.ts
- 05-generate-a-cost-table.ts
- 06-read-the-community-wiki.ts
- 07-format-like-the-game.ts
- 08-build-a-calculator.ts
- 09-build-a-bot.ts
- 10-read-a-sheet.ts
- 11-build-a-knowledge-base.ts
- 12-show-module-and-card-art.ts
Templates