Dredge is a typescript library for building TypeSafe rest APIs without code generation.
say-my-name-joined.mp4
- TypeSafe APIs - for request body, response body, params, search params
- Full AutoCompletion - No need to remember any endpoints
- Simple Dx - No code generation, simple design
- Batteries Included
- Ultrafast & Lightweight
Visit dredge.dhrjarun.com for documentation.
Package | Description |
---|---|
dredge-route | Build routes for your API |
dredge-adapters | Adapters to serve the API |
dredge-fetch | HTTP Fetch client |
dredge-types | Internal lib storing types |
dredge-common | Internal lib storing common code |
As of now, I (Dhiraj Arun) am the only contributor to this project. You can contact me on X.
Dredge borrows ideas from project like tRPC, express, ky, hono, node-fetch. Not just ideas but also codes and docs from some of these projects.