Skip to main content

bunjs:http-service

Build or review a Bun HTTP service — Bun.serve declarative routes, middleware composition, request context, status/ETag/streaming helpers, graceful lifecycle.

Part of bunjs.

4 reference documents, about 496 lines.

The skill itself does not contain them. It reads your question and names the one or two worth opening — which is the point, because loading everything below to answer one question would cost more than the answer is worth.

Overviews​

DocumentCoversLines
api-design.mdAPI design decisions127
openapi-and-apidog.mdOpenAPI and Apidog86
routing-and-serve.mdBun.serve routing — MEASURED on 1.3.10150
websockets-and-streaming.mdWebSockets and streaming133

Reading these​

You do not open these yourself in normal use — /bunjs:http-service picks for you. Read them directly when you want the reference rather than the answer, or to check what the advice is actually based on.