/Knowledge/sources/honojs__hono/llms-full/context-contextvariablemap--part-03--37910e030a41.md
Context: ContextVariableMap (part 03) - hono-docs
Context: ContextVariableMap (part 03) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt contextvariablem...
Context: ContextVariableMap (part 03)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#contextvariablemap
Summary
ts twoslash import { Hono } from 'hono' const app = new Hono () // ---cut--- app.get('/', (c) => { const val = c.get('result') // val is a string // ... return c.json({ result: val }) })
Content
import { Hono } from 'hono'
const app = new Hono<{ Variables: { result: string } }>()
// ---cut---
app.get('/', (c) => {
const val = c.get('result') // val is a string
// ...
return c.json({ result: val })
})
Metadata
{
"chunk_index": 2,
"citation": "https://hono.dev/llms-full.txt#contextvariablemap",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Context > ContextVariableMap (3)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 568,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Context: ContextVariableMap (part 03)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}