Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/denorest/lib/types.ts>Routes

Lightweight, Minimalist Framework For REST API πŸ¦• πŸš€
Latest
type alias Routes
import { type Routes } from "https://deno.land/x/denorest@v4.2/lib/types.ts";

Routes data type

definition: { path: string; reg: RegExp; method: string; hand: ((req: Req, res: Res) => void)[]; }