Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/server/routing.ts>initRoutes

The Full-stack Framework in Deno.
Go to Latest
function initRoutes
import { initRoutes } from "https://deno.land/x/aleph@1.0.0-alpha.14/server/routing.ts";

initialize routes from routes config

Parameters

config: string | RoutesConfig | RouteRegExp
optional
cwd = [UNSUPPORTED]

Returns

Promise<Routes>