UNPKG

@visulima/email

Version:

A comprehensive email library with multi-provider support, crypto utilities, and template engines

13 lines (12 loc) 496 B
import type { TemplateRenderer } from "./types.d.ts"; /** * Renders MJML to HTML. * @param template MJML template string. * @param _data Data (not used for MJML). * @param options MJML options (beautify, fonts, keepComments, minify, validationLevel). * @returns Rendered HTML string. * @throws {TypeError} When template is not a string. * @throws {EmailError} When MJML is not installed, validation fails, or rendering fails. */ declare const mjml: TemplateRenderer; export default mjml;