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

x/aleph/server/router.ts>initRouter

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

initialize router from routes config

Parameters

appDir: string
optional
init: RouterInit = [UNSUPPORTED]

Returns

Promise<Router>