TypeScript
The TypeScript library lets you write Spade blocks using TypeScript with the Bun runtime. Blocks use decorators or metadata helpers for type annotations.
Prerequisites🔗
- Bun runtime (1.0 or later)
- TypeScript 5.0 or later
- The Spade CLI installed (Installation guide)
Installation🔗
bun add spadeQuickstart
Create your first TypeScript block step by step.
Read →Types
All available Spade types in the TypeScript library.
Read →Handler Functions
Writing TypeScript handlers with decorators.
Read →Manifest Generation
Auto-generating block manifests from TypeScript metadata.
Read →Examples
Complete worked examples of TypeScript blocks.
Read →