Errors Just Throw
Every error throws â no handling code at the call site. When you need to handle one, catch gives you a typed Result.
Call your API with confidence â and trust every result
Every error throws â no handling code at the call site. When you need to handle one, catch gives you a typed Result.
No YAML specs, no codegen, no opaque output. Compose schemas, pick fields for forms, reuse them for validation. The contract is TypeScript you read and write.
Platform fetch. Same client in the browser, SvelteKit remote functions, React Router loaders, Next.js server components, or plain Node.
Flat params, key transforms, destructured responses â opinionated defaults for the common case. When you need explicit control, there's always an escape hatch.
Zod as a peer dependency. Nothing else. Under 3 KB gzipped.