Skip to main content
Home

Built and signed on GitHub Actions

High-performance web framework

This package works with Cloudflare Workers, Node.js, Deno, Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
a day ago (0.14.0)
I
Context

Context object passed to middleware and route handlers containing request data and helper methods. The context provides a convenient API for handling common web operations like parsing request bodies, setting response headers, and managing application state.

I
DenoServerOptions

Deno specific server options.

T
ListenCallback

Callback function invoked when the server starts listening.

I
ListenOptions

Configuration options for starting a server with the listen method.

T
MatchResult

Result of attempting to match a URL path against a route pattern.

T
Method

HTTP methods supported by the framework.

T
Middleware

Middleware function type that processes requests and can return responses. Middleware functions receive a context object and a next function to call the next middleware in the chain.

T
MiddlewareRoute

Internal representation of middleware with matching logic. Used to determine which middleware should run for a given request.

T
Next

Function type for calling the next middleware in the chain. Returns a Promise that resolves to a Response or void.

I
NodeServerOptions

Node.js specific server options for HTTP/HTTPS configuration.

I
Route

Internal representation of a route with its matching logic and handlers.

I
Server

Server instance returned by the listen method. Provides a unified interface for controlling servers across different runtimes.

I
TrieNode

Interface representing a node in the trie data structure used for efficient route matching. Each node can have static children, parameter children, or wildcard children.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.