Skip to main content
Module

x/rutt/mod.ts>buildInternalRoutes

🛣️ A tiny and fast http request router designed for use with deno and deno deploy
Go to Latest
function buildInternalRoutes
import { buildInternalRoutes } from "https://deno.land/x/rutt@0.1.0/mod.ts";

Builds an InternalRoutes array from a Routes record.

Type Parameters

optional
T = unknown

Parameters

routes: Routes<T>

A Routes record

optional
basePath = [UNSUPPORTED]