Merges JS objects into HTML templates using handlebars
npm install shnappy-email-templater --save
Uses config to define the template path. Make sure to set it in your config/default.json file.
var templateEngine = require('shnappy-email-templater');
templateEngine.RenderTemplate('templateName', {name:'dwnz'}, function(output){
console.log(output);
});
RenderTemplate(templateName, model, callback);
npm test