Blame view

node_modules/nodemailer-shared/README.md 518 Bytes
f7563de62   Palak Handa   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  # nodemailer-shared
  
  Shared methods for the [Nodemailer](https://github.com/nodemailer/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**