Module

x/aleph/server/routing.ts>initRouter

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

initialize router from routes config

Parameters

options: RouterInit
optional
appDir: string

Returns

Promise<Router>