Hectoday
Learn to build for the web. Hands-on courses with code examples, quizzes, and progress tracking.
Open source
Hectoday HTTP
A web framework that refuses to make decisions for you. It computes facts about requests—extracts params, validates input, parses bodies. It never decides what those facts mean as HTTP. You make those decisions. In your handler. Explicitly.
import { setup, route } from "@hectoday/http";
const app = setup({
routes: [
route.get("/hello", {
resolve: () => Response.json({ message: "Hello World" }),
}),
],
});
Deno.serve(app.fetch);- Web Standards only — Request, Response, Headers, URL, fetch. No Node-specific APIs.
- No middleware — Four hooks, four jobs. onRequest, onResponse, onError, onNotFound.
- You decide — Validation fails? The framework doesn't return 400. You do.
- Runs everywhere — Deno, Bun, Node.js, Cloudflare Workers. Same code.