Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

jstewmon/email-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

email-template is a simple library used to render both a text and html template for a given data context.

usage is easy:

et.createBodies({text: path.join(__dirname, 'email/success.handlebars.text')}, data, callback);

The templating engine is determined by trying to match one of the exports from conosolidate.js with the filename, so you can either include the engine in the filename or in the path. Any of these will work:

sample.ejs.text
./handlebars/sample.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published