Interface TemplateEngine

Template engine to process configuration files.

interface TemplateEngine {
    renderTemplate: ((props: RenderTemplateProps) => Promise<string>);
    renderTemplateFile: ((props: RenderTemplateFileProps) => Promise<string>);
}

Properties

renderTemplate: ((props: RenderTemplateProps) => Promise<string>)

Render template from a string.

renderTemplateFile: ((props: RenderTemplateFileProps) => Promise<string>)

Render template from a file.