Wondering what’s next for npm?Check out our public roadmap! »

nodemailer-shared

2.0.0 • Public • Published

nodemailer-shared

Shared methods for the Nodemailer stack.

Methods

  • parseConnectionUrl(str) parses a connection url into a nodemailer configuration object
  • getLogger(options) returns a bunyan compatible logger instance
  • callbackPromise(resolve, reject) returns a promise-resolving function suitable for using as a callback
  • resolveContent(data, key, callback) converts a key of a data object from stream/url/path to a buffer

License

MIT

Keywords

Install

npm i nodemailer-shared

DownloadsWeekly Downloads

265,207

Version

2.0.0

License

MIT

Last publish

Collaborators

  • avatar