Skip to main content
Module

x/momentum/platform-oak/platform-oak.ts>platformOak

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
function platformOak
import { platformOak } from "https://deno.land/x/momentum@v0.8.2/platform-oak/platform-oak.ts";

Creates a new Oak platform

Creates a new oak platform with customizable application and router

Parameters

The Oak Application. Provide this parameter to register Oak middleware

router: Router

The Oak Router. Provide this parameter to customize routing