@well-known-js/hono
v1.0.2
Published
Hono middleware for serving .well-known routes.
Downloads
412
Maintainers
Readme
@well-known-js/hono
Hono middleware for serving configured /.well-known/* routes in Fetch-compatible runtimes.
Installation
pnpm add @well-known-js/hono @well-known-js/core honoUsage
import { Hono } from "hono";
import { wellKnown } from "@well-known-js/hono";
import config from "./well-known.config.js";
const app = new Hono();
app.use(wellKnown(config));
export default app;Unknown routes continue to the next Hono handler. GET and HEAD responses use each provider's declared content type.
