A simple API to send emails formatted with various templating libs.
This module also wraps nodemailer, making e-mail sending easy.
The following templating engines are supported. The dependencies listed are required in order to run them along with this library.
npm install swig --save, https://github.com/paularmstrong/swig/
npm install jade --save, https://github.com/visionmedia/jade
The following example illustrates how to use
swig template engine.
swig it's also possible to define custom filters:
var Email =email = Email;;
In the case of
jade, you will need to define your mixins:
The source is available for download from GitHub. Alternatively, you can install using Node Package Manager (npm):
npm install peryton --save