Module

x/drash/src/services/tengine/jae.ts>Jae

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
class Jae
import { Jae } from "https://dotland.deno.dev/x/drash@v2.7.0/src/services/tengine/jae.ts";

Constructors

new
Jae(viewsPath: string)

Construct an object of this class.

Properties

views_path: string

A property to hold the base path to the template(s).

Methods

render(template: string, data: unknown): string

Render a template file and replace all template variables with the specified data.