doofpi
v1.0.0
Published
Edge-first TypeScript framework based on web standards for building end-to-end type-safe APIs with no code generation
Maintainers
Readme
doofpi is a lightweight TypeScript framework based on web standards for building end-to-end type-safe APIs - no code generation, no build steps, no separate schema files to maintain
# Core install
bun install doofpi
npm install doofpi
pnpm install doofpiOptional: Add
zodfor schema validation and type inference from schemas.bun install doofpi zod
Highlights
| | |
| -------------------------- | ----------------------------------------------------------- |
| Zero Boilerplate | No adapters, links, or transformers minimal setup |
| End-to-End Type Safety | Change your server, your client breaks at compile time |
| Runtime Agnostic | Bun · Cloudflare Workers · Vercel · Netlify · Deno and more |
| Zod Validation | Optional input and output validation at runtime |
| Web Standards | Built on the native Request / Response API |
| Thoroughly Tested | 100% code coverage across all core features |
Documentation
Full documentation, guides, and API reference are available at liorcodev.github.io/doofpi-docs.
| | |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------ |
| Quick Start | Get up and running in minutes |
| Core Concepts | Read & Write semantics, routing, Zod validation |
| Guides | Context, middleware, error handling, and more |
| API Reference | Full API for Doofpi, EndpointBuilder, and createClient |
| Comparison | How doofpi compares to tRPC |
Acknowledgments
Inspired by tRPC.
