Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/helper/ssg/index.ts>fetchRoutesContent

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
variable fetchRoutesContent
import { fetchRoutesContent } from "https://deno.land/x/hono@v4.0.10/helper/ssg/index.ts";

type

<E extends Env = Env, S extends Schema = { }, BasePath extends string = "/">(
app: Hono<E, S, BasePath>,
beforeRequestHook?: BeforeRequestHook,
afterResponseHook?: AfterResponseHook,
) => Promise<Map<string, { content: string | ArrayBuffer; mimeType: string; }>>