/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-context-4142a008a6bb-context-s0398-c0000.md
`Context` - hono-docs
Context Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt context Summary You can access the Netlif...
Context
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#context
Summary
You can access the Netlify's Context through c.env: ```ts import { Hono } from 'jsr:@hono/hono' import { handle } from 'jsr:@hono/hono/netlify' // Import the type definition import type { Context } from 'https://edge.netlify.com/' ex...
Content
You can access the Netlify's Context through c.env:
import { Hono } from 'jsr:@hono/hono'
import { handle } from 'jsr:@hono/hono/netlify'
// Import the type definition
import type { Context } from 'https://edge.netlify.com/'
export type Env = {
Bindings: {
context: Context
}
}
const app = new Hono<Env>()
app.get('/country', (c) =>
c.json({
'You are in': c.env.context.geo.country?.name,
})
)
export default handle(app)