Type-Safe
Full TypeScript support with inference everywhere
Functional
Built on functional programming principles
Context Management
Powerful context propagation patterns
Simple & Powerful
Get started with a clean, type-safe API that leverages TypeScript inference
import { defineContext } from '@deessejs/function'
import { rpc } from '@deessejs/function/rpc'
const { t, createAPI } = defineContext()
.withExtensions([rpc])
const api = createAPI({
root: { getUser },
runtimeContext: { userId: '123' }
})