Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aleph/server/routing.ts>initRouter

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function initRouter
import { initRouter } from "https://deno.land/x/aleph@1.0.0-beta.32/server/routing.ts";

initialize router from routes config

Parameters

optional
init: RouterInit = [UNSUPPORTED]
optional
appDir: string

Returns

Promise<Router>