npm install @hectoday/http
Build HTTP APIs
with web standards
A typed HTTP framework that runs on Deno, Bun, Node.js, and Cloudflare Workers. Routes, validation, auth, hooks — all built on Request and Response.
import { setup, route } from "@hectoday/http"; const app = setup({ routes: [ route.get("/hello", { resolve: () => new Response("Hello World"), }), ], }); Deno.serve(app.fetch);
Web Standards
Request, Response, Headers, URL. No proprietary APIs. Runs everywhere.
Type-safe Validation
Zod schemas for params, query, body, and headers. Types flow from schema to handler.
Batteries Included
Auth, CORS, rate limiting, OpenAPI generation, versioning — built in.