Skip to content
Hedystia 1.10 - Type Mastery

Hedystia

Build APIs with Confidence

A fast, end-to-end type-safe backend framework for TypeScript. Build APIs with built-in validation, real-time subscriptions, and automatic client generation without the overhead.

Start Building
$bun add hedystia
server.ts

One unified inference.

Your server schemas are perfectly mirrored to the client. Real-time updates with zero code generation delays.

SERVER CONFIGURATION

server.ts

CLIENT INTEGRATION

client.ts

Core Capabilities

End-to-End Safety

No external parsers. Route schemas drive the TypeScript inference entirely, preserving safety across the network bridge.

Built on Bun

Designed natively for Bun's extreme performance. Cold starts are lightning-fast with minimal overhead for every request.

Real-Time First

Subscriptions via WebSockets and SSE are treated like HTTP endpoints. Type-safe streams directly mapped to identical contexts.

Built-in Builder

Forget external dependencies. The native `h` schema builder seamlessly generates types and acts as a runtime validator automatically.

Plugins Architecture

Encapsulate logic beautifully. Any module export can be `.use()`d directly as a distinct application, enabling immense scale.

Auto-Swagger Docs

Your typing directly reflects the OpenAPI specification. Install a plugin to autogenerate pristine interactive documentation instantly.

Trusted By & Contributors