Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
composium
/
example.ts
Powered by functional composition and the URL Pattern API, composium has become the most flexible routing framework in the world.
Zaubrik/composium
Version
v0.1.2
v0.1.1
v0.1.0
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Go to Latest
Menu
url-pattern
mod.ts
(default module)
c
Context
v
compose
v
composeSync
f
createHandler
f
createRoute
f
listen
composition.ts
v
compose
v
composeSync
deps.ts
I
ConnInfo
I
ServeInit
I
ServeTlsInit
T
Handler
f
serve
f
serveTls
example.ts
c
Ctx
test_deps.ts
f
assertEquals
f
assertNotEquals
f
assertThrows
f
delay
test_util.ts
f
add10
f
divide5Delayed
f
multiply10
f
subtract5Delayed
import
*
as
composium
from
"https://deno.land/x/composium@v0.0.5/example.ts"
;
Classes
c
Ctx