# nodemailer-shared

> Shared methods for the nodemailer stack

Latest version **2.0.0** (published 2016-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install nodemailer-shared
pnpm add nodemailer-shared
yarn add nodemailer-shared
bun add nodemailer-shared
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2016-09-29 |
| First published | 2016-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Andris Reinman |
| Maintainers | andris |
| Keywords | nodemailer |

## Links

- npm: https://www.npmjs.com/package/nodemailer-shared
- Repository: https://github.com/nodemailer/nodemailer-shared
- Homepage: https://github.com/nodemailer/nodemailer-shared#readme
- Issues: https://github.com/nodemailer/nodemailer-shared/issues
- npm.io page: https://npm.io/package/nodemailer-shared

## Dependencies (1)

- [nodemailer-fetch](https://npm.io/package/nodemailer-fetch.md) 2.0.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2016-09-29
- 1.1.0 — 2016-09-05
- 1.0.5 — 2016-05-11
- 1.0.4 — 2016-02-10
- 1.0.3 — 2016-01-20
- 1.0.2 — 2016-01-04
- 1.0.1 — 2016-01-03
- 1.0.0 — 2016-01-02

## README

# 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**

---
_Source: https://npm.io/package/nodemailer-shared · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
