Module

x/aleph/server/types.ts

The Full-stack Framework in Deno.
Go to Latest
interface RouterInit
import { type RouterInit } from "https://deno.land/x/aleph@1.0.0-beta.1/server/types.ts";

The router options for the file-system based routing.

Properties

optional
glob: string

The glob to match routes.

optional
dir: string

The directory of the FS routing.

optional
exts: string[]

The extnames to match routes.

optional
routes: Record<string, Record<string, unknown>>

The pre-built routes.