UNPKG

@ackplus/nest-dynamic-templates

Version:

A powerful and flexible dynamic template rendering library for NestJS applications with support for Nunjucks, Handlebars, EJS, Pug, MJML, Markdown, and more.

17 lines 575 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextEngine = void 0; const template_types_1 = require("../../interfaces/template.types"); const language_engine_1 = require("../language-engine"); class TextEngine extends language_engine_1.LanguageEngine { static engineName = template_types_1.TemplateLanguageEnum.TEXT; static displayName = 'Text'; async render(content) { return content; } async validate() { return true; } } exports.TextEngine = TextEngine; //# sourceMappingURL=text.engine.js.map