First Commit

This commit is contained in:
2025-11-02 22:52:08 +01:00
commit 73fbbf1be2
5821 changed files with 977526 additions and 0 deletions

View File

@@ -0,0 +1,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**