/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-input-eac88d882f13-input-s0743-c0000.md
Input - hono-docs
Input Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt input Summary The arguments for toSSG are s...
Input
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#input
Summary
The arguments for toSSG are specified in ToSSGInterface. ts export interface ToSSGInterface { ( app: Hono, fsModule: FileSystemModule, options?: ToSSGOptions ): Promise } - app specifies new Hono() with registered routes. - `f...
Content
The arguments for toSSG are specified in ToSSGInterface.
export interface ToSSGInterface {
(
app: Hono,
fsModule: FileSystemModule,
options?: ToSSGOptions
): Promise<ToSSGResult>
}appspecifiesnew Hono()with registered routes.fsspecifies the following object, assumingnode:fs/promise.
export interface FileSystemModule {
writeFile(path: string, data: string | Uint8Array): Promise<void>
mkdir(
path: string,
options: { recursive: boolean }
): Promise<void | string>
}