Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/drash@v2.8.1/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.