@orveth/cors provides middleware to handle cross-origin requests with sensible defaults. It is a focused helper — not a full API gateway or policy engine.
cors.ts
import { Orveth } from "orveth";
import { cors } from "@orveth/cors";
const app = new Orveth();
app.use(cors());
app.get("/api/status", (ctx) => ctx.ok({ ok: true }));