Skip to main content

TemplateEngine

Summary

Template engine that processes EJS templates with API data

Signature

export declare class TemplateEngine 

Constructors

constructor

Constructs a new instance of the class

Properties

No properties defined.

Methods

clearCache

Clear the template cache

getAvailableTemplates

Get available template names from the template directory

hasTemplate

Check if a template exists (for user template override logic)

render

Render a template with the provided data

Events

No events defined.