API reference
Every documented export of every Smite package, with its signature from the published type declarations and the tested examples that use it.
Core
The registrar every other package builds on, and the functional primitives shared across them.
Semantic registrar: descriptors (IR nodes), relationships (IR edges) and the global registry.
@smitejs/fpSmall functional programming primitives for Smite applications and framework code.
HTTP and APIs
Describe an HTTP API, validate it, serve it, document it and call it with a typed client.
HTTP semantics for Smite: apps, routes, endpoints and the serve executor.
@smitejs/clientGenerates a typed, builder-style HTTP client from a Smite app definition.
@smitejs/openapiOpenAPI 3.1 artifact generator for Smite apps, delivered as an @smitejs/cli plugin.
@smitejs/envDeclarative environment variables for Smite: provider, zod validation, collect-mode manifest.
@smitejs/logsStructured logging cross-cutting concern for Smite applications
Application extensors
Other kinds of entry points an app can declare next to its routes.
Zero-input handler type for Smite app extensors: the empty signal shape shared by schedulers and realtime events.
@smitejs/jobsScheduled jobs for Smite: job descriptors with cron and interval schedules, a scheduler executor, and a collector.
@smitejs/messagingMessaging endpoints for Smite: channels with consumers, producers, and an in-memory broker executor.
@smitejs/realtimeRealtime event handlers for Smite: socket descriptors with connect/message/disconnect events, hub executor, and collector.
Domain
A functional DDD toolkit: value objects, entities, specifications, ports and usecases.
Deploy
Run the same app on serverless platforms and declare the cloud resources it uses.
Serverless runtime adapters for Smite apps.
@smitejs/awsAWS resource declarations, injected clients, and permission metadata for Smite.
Tooling
The compiler, the command line, the project scaffolder and the docs snippet engine.