Skip to content

An api builder in typescript. Build Type-Safe REST APIs with ease.

License

Notifications You must be signed in to change notification settings

dhrjarun/dredge

Repository files navigation

dredge

Dredge is a typescript library for building TypeSafe rest APIs without code generation.

say-my-name-joined.mp4

Features

  • 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

Documentation

Visit dredge.dhrjarun.com for documentation.

Structure

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

Team

As of now, I (Dhiraj Arun) am the only contributor to this project. You can contact me on X.

Acknowledgement

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.

About

An api builder in typescript. Build Type-Safe REST APIs with ease.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages