1.0.5 • Published 3 years ago
@gravitywelluk/email-generator v1.0.5
Usage
import template from "./local/path/template.html";
import { generateHtmlEmail } from "email-generator";
interface EmailParams {
name: string;
}
generateHtmlEmail<EmailParams>(template, { name: "Joe bloggs" });
TODO
- Better validation
- mjml templates