Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
hono
/
compose.ts
Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
honojs/hono
Extremely Popular
Version
v4.3.11
v4.3.10
v4.3.9
v4.3.7
v4.3.6
v4.3.5
v4.3.4
v4.3.3
v4.3.2
v4.3.1
v4.3.0
v4.2.9
v4.2.8
v4.2.7
v4.2.6
v4.2.5
v4.2.4
v4.2.3
v4.2.2
v4.2.1
v4.2.0
v4.2.0-rc.1
v4.1.7
v4.1.6
v4.1.5
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.10
v4.1.0-rc.1
v4.0.9
v4.0.8
v4.0.7
v4.0.6
v4.0.5
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.12.11
v4.0.0-rc.4
v3.12.10
v3.12.9
v4.0.0-rc.3
v3.12.8
v3.12.7
v4.0.0-rc.2
v3.12.6
v4.0.0-rc.1
v3.12.5
v3.12.4
v3.12.3
v3.12.2
v4.0.0-rc.0
v3.12.1
v3.12.0
v3.11.12
v3.11.11
v3.11.10
v3.11.9
v3.11.8
v3.11.7
v3.11.6
v3.11.5
v3.11.4
v3.11.3
v3.11.2
v3.11.1
v3.11.0
v3.10.5
v3.10.4
v3.10.3
v3.10.2
v3.10.1
v3.10.0
v3.10.0-rc.2
v3.10.0-rc.1
v3.9.2
v3.9.1
v3.9.0
v3.9.0-rc.1
v3.8.4
v3.8.3
v3.8.2
v3.8.1
v3.8.0
v3.8.0-rc.3
v3.7.6
v3.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6.4
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.6.0-0
Go to Latest
Menu
deno
middleware
router
utils
mod.ts
(default module)
c
Hono
c
RegExpRouter
c
TrieRouter
I
Context
I
ContextVariableMap
T
Handler
T
Next
compose.ts
v
compose
context.ts
c
HonoContext
I
Context
T
Data
hono.ts
c
Hono
I
ContextVariableMap
T
Bindings
T
Environment
T
ErrorHandler
T
Handler
T
Next
T
NotFoundHandler
T
Variables
middleware.ts
c
JSXNode
T
ServeStaticOptions
v
basicAuth
v
bearerAuth
v
compress
v
cors
v
etag
v
Fragment
v
html
v
jsx
v
jwt
v
logger
v
memo
v
poweredBy
v
prettyJSON
v
raw
v
serveStatic
request.ts
f
extendRequestPrototype
router.ts
I
Result
I
Router
v
METHOD_NAME_ALL
v
METHOD_NAME_ALL_LOWERCASE
import
*
as
hono
from
"https://deno.land/x/hono@v2.1.0/compose.ts"
;
Variables
v
compose