Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

appmechanix/shnappy-email-templater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shnappy-email-templater

Merges JS objects into HTML templates using handlebars

Installing

npm install shnappy-email-templater --save

Setup

Uses config to define the template path. Make sure to set it in your config/default.json file.

Example

var templateEngine = require('shnappy-email-templater');

templateEngine.RenderTemplate('templateName', {name:'dwnz'}, function(output){
    console.log(output);
});

Methods

RenderTemplate(templateName, model, callback);

Testing

npm test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published