Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/router/interfaces/KeyworkRouterOptions.ts>KeyworkRouterOptions

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
interface KeyworkRouterOptions
import { type KeyworkRouterOptions } from "https://deno.land/x/keywork@v6.0.1/router/interfaces/KeyworkRouterOptions.ts";

Options to configure the Worker Router.

Properties

optional
displayName: string

A display name used for debugging and log messages.

optional
middleware: Array<MiddlewareDeclarationLike>

Middleware to apply to the router during construction. Middleware can also be applied via KeyworkRouter#use.

optional
react: ReactRendererOptions