fest
Fetch-style Server Primitives

Middleware, request context, lifecycle events, and runtime adapters for Node.js, Deno, Bun, and stream-based hosts.
import { serve } from "@hornjs/fest";

serve({
  fetch(req: Request) {
    return Response.json({ hello: "world!" });
  },
});

/*
Node.js: $ node --experimental-strip-types server.ts
CLI:     $ npx @hornjs/fest
Deno:    $ deno run -A npm:@hornjs/fest
Bun:     $ bunx --bun @hornjs/fest
*/
  • Runtime Adapters

    Use dedicated adapters for Node.js, Bun, Deno, and stream-based hosts.

  • Web Standards

    Build around standard Request and Response primitives.

  • Development Experience

    Built-in CLI with watch mode, request logging, error handling, static file serving, and graceful shutdown support.