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

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

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
variable fetchRoutesContent
import { fetchRoutesContent } from "https://deno.land/x/hono@v4.1.2/helper/ssg/index.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>>