Skip to main content
Module

x/acai_router/mod.ts>router

This repository contains the router module added by the Açai Framework. This is responsible for creating the routes list and doing a match with a url path, passing the information back to you.
Latest
variable router
import { router } from "https://deno.land/x/acai_router@1.0.0/mod.ts";

type

<Options = Record<string, string>>(
path: string,
method: MethodTypes,
routes: RouteInterface[],
config?: RouterConfigInterface,
) => unknown