@dealerslink/node-mail-template-helper

1.1.0 • Public • Published

node-mail-template-helper

node-mail-template-helper is a helper module to assist with compilation of email templates.

Installation

npm install @dealerslink/node-mail-template-helper

Usage

const MailTemplatesHelper = require('@dealerslink/node-mail-template-helper');

const templates = {
  ['Test2']: {
    subject: '{testData1} {testData2}',
    template: '{bodyData} - {testData2} -- {embedded.value}'
  }
};

const mailTemplateHelper = new MailTemplatesHelper(templates);

See wiki for more details.

Readme

Keywords

none

Package Sidebar

Install

npm i @dealerslink/node-mail-template-helper

Weekly Downloads

1

Version

1.1.0

License

none

Unpacked Size

13.2 kB

Total Files

8

Last publish

Collaborators

  • tonybebber