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

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

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

type

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