Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodemailer-express-handlebars

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemailer-express-handlebars - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

lib/generator.js

@@ -21,3 +21,3 @@ 'use strict';

this.viewEngine.renderView(templatePath, mail.data.values, function(err, body) {
this.viewEngine.renderView(templatePath, mail.data.context, function(err, body) {
if (err) return cb(err);

@@ -24,0 +24,0 @@

{
"name": "nodemailer-express-handlebars",
"version": "0.0.1",
"version": "0.0.2",
"description": "A plugin for nodemailer that uses express-handlebars view engine to generate emails",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -35,5 +35,5 @@ # Express Handlebars plugin for Nodemailer

* __template__ the name of the template file to use
* __values__ 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/ericf/express-handlebars#renderviewviewpath-optionscallback-callback)
# License
MIT

@@ -30,3 +30,3 @@ 'use strict';

template: 'email',
values: {
context: {
name: 'Name'

@@ -83,3 +83,3 @@ }

template: 'email',
values: {
context: {
name: 'Name'

@@ -86,0 +86,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc