nodemailer-express-handlebars
Advanced tools
Comparing version 5.0.0 to 6.0.0
{ | ||
"name": "nodemailer-express-handlebars", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"description": "A plugin for nodemailer that uses express-handlebars view engine to generate emails", | ||
@@ -28,6 +28,9 @@ "main": "index.js", | ||
"chai": "^4.1.2", | ||
"mocha": "^5.0.0", | ||
"mocha": "^10.0.0", | ||
"nodemailer": "^6.4.6", | ||
"nodemailer-stub-transport": "^1.1.0" | ||
}, | ||
"engines": { | ||
"node": "14.* || 16.* || >= 18" | ||
} | ||
} |
# Express Handlebars plugin for Nodemailer | ||
This plugin works with nodemailer 6.x. And uses the [express-handlebars](https://github.com/ericf/express-handlebars) view | ||
This plugin works with nodemailer 6.x. And uses the [express-handlebars](https://github.com/express-handlebars/express-handlebars) view | ||
engine to generate html emails. | ||
@@ -29,3 +29,3 @@ | ||
The plugin expects the following options: | ||
* __viewEngine (required)__ either the express-handlebars view engine instance or [options for the view engine](https://github.com/ericf/express-handlebars#configuration-and-defaults) | ||
* __viewEngine (required)__ either the express-handlebars view engine instance or [options for the view engine](https://github.com/express-handlebars/express-handlebars#configuration-and-defaults) | ||
* __viewPath (required)__ provides the path to the directory where your views are | ||
@@ -37,5 +37,5 @@ * __extName__ the extension of the views to use (defaults to `.handlebars`) | ||
* __template__ the name of the template file to use | ||
* __context__ this will be passed to the view engine as the context as well as view engine options see [here](https://github.com/ericf/express-handlebars#renderviewviewpath-optionscallback-callback) | ||
* __context__ this will be passed to the view engine as the context as well as view engine options see [here](https://github.com/express-handlebars/express-handlebars#renderviewviewpath-optionscallback-callback) | ||
# License | ||
MIT |
7697
9