/Knowledge/sources/honojs__hono/llms-full/ssg-helper-tossg-input--fed95a31d3b1.md
SSG Helper: toSSG > Input - hono-docs
SSG Helper: toSSG Input Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt input Summary The arguments fo...
SSG Helper: toSSG > Input
Source evidence: /Sources/honojs__hono/provenance.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>
}
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#input",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / SSG Helper > toSSG > Input",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 743,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "SSG Helper: toSSG > Input",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}