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

@promise-watch/smtp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promise-watch/smtp - npm Package Compare versions

Comparing version 0.0.10 to 1.0.0

7

package.json
{
"name": "@promise-watch/smtp",
"version": "0.0.10",
"version": "1.0.0",
"main": "dist/index.js",

@@ -11,3 +11,3 @@ "author": "Jason Raimondi <jason@raimondi.us> (https://jasonraimondi.com)",

"dependencies": {
"@promise-watch/core": "^0.0.14",
"@promise-watch/core": "^1.0.0",
"nodemailer": "^6.7.2"

@@ -26,4 +26,3 @@ },

"prepublish": "rm -rf ./dist && pnpm build"
},
"readme": "# @promise-watch/smtp\n\n## Installation\n\n```bash\npnpm add @promise-watch/smtp\n```\n\n## Usage\n\n```typescript\nimport { SmtpNotifier } from \"@promise-watch/smtp\";\nimport type SMTPTransport from \"nodemailer/lib/smtp-transport\";\nimport type Mail from \"nodemailer/lib/mailer\";\n\nconst smtpOptions: SMTPTransport | SMTPTransport.Options | string = {\n host: process.env.SMTP_HOST,\n port: Number(process.env.SMTP_PORT) || 587,\n};\n\nconst mailOptions: Mail.Options = {\n to: process.env.SMTP_TO,\n from: process.env.SMTP_FROM,\n};\n\nnew SmtpNotifier(smtpOptions, mailOptions);\n```\n"
}
}
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