Socket
Socket
Sign inDemoInstall

cherry-mailer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cherry-mailer - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

12

index.js
var nodemailer = require('nodemailer');
var util = require('util');
function log(msg) {
console.log("[mailer] " + msg);
}
module.exports = function (cherry) {

@@ -25,5 +29,5 @@

if(error){
console.log(error);
log(error);
} else{
console.log("Trigger sent: " + util.inspect(response));
log("Trigger sent: " + util.inspect(response));
};

@@ -33,8 +37,8 @@ });

console.log("lightswitch ready to rock");
log("lightswitch ready to rock");
cherry.register('email', function (msg) {
console.log(msg);
log(msg);
send(msg.to, msg.subject, msg.body);
});
};
{
"name": "cherry-mailer",
"version": "0.0.1",
"version": "0.0.2",
"description": "cherry plugin sending emails",

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

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