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
/
xserver
/
src
/
router.ts
X-Server a Deno server module with middleware
xeaone/server
Version
Latest
5.4.1
5.4.0
5.3.4
5.3.3
5.3.2
5.3.1
5.3.0
5.2.8
5.2.7
5.2.6
5.2.4
5.2.3
5.2.2
5.2.1
5.2.0
5.1.0
5.0.0
4.3.0
4.2.0
4.1.0
4.0.0
3.1.1
3.1.0
3.0.2
3.0.1
3.0.0
2.7.0
2.6.0
2.5.0
2.4.1
2.4.0
2.3.3
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.1
2.0.0
1.3.1
1.3.0
1.2.0
1.1.0
0.2.3
1.0.0
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.3
0.0.2
v0.0.1
v1-beta
Menu
mod.ts
(default module)
N
handle
N
Handle
N
plugin
N
Plugin
c
cache
c
Cache
c
context
c
Context
c
cors
c
Cors
c
defenders
c
Defenders
c
file
c
File
c
forwarded
c
Forwarded
c
handler
c
Handler
c
normalize
c
Normalize
c
payload
c
Payload
c
router
c
Router
c
session
c
Session
c
socket
c
Socket
v
codes
v
Codes
v
default
v
messages
v
Messages
v
server
v
Server
cache.ts
c
default
context.ts
c
default
cors.ts
c
default
defenders.ts
c
default
deps.ts
file.ts
c
default
forwarded.ts
c
default
handle.ts
T
Handle
handler.ts
c
default
normalize.ts
c
default
payload.ts
c
default
plugin.ts
c
Plugin
router.ts
c
default
session.ts
c
default
socket.ts
c
default
types.ts
T
Body
T
Handle
T
Head
T
Method
import
*
as
xserver
from
"https://deno.land/x/xserver@5.4.1/src/router.ts"
;
Classes
c
default