@karmaniverous/jeeves-watcher
    Preparing search index...

    Class TemplateEngine

    The template engine: holds compiled templates and renders them against context.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    hbs: typeof Handlebars

    The Handlebars instance used for template compilation and rendering.

    Methods

    • Render a compiled template against a context.

      Parameters

      • key: string

        The cache key of the compiled template.

      • context: Record<string, unknown>

        The data context for rendering.

      Returns string | null

      The rendered string, or null if the template was not found.