# @types/nodemailer-stub-transport

> TypeScript definitions for nodemailer-stub-transport

Latest version **1.1.8** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/nodemailer-stub-transport
pnpm add @types/nodemailer-stub-transport
yarn add @types/nodemailer-stub-transport
bun add @types/nodemailer-stub-transport
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2023-11-07 |
| First published | 2016-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/nodemailer-stub-transport
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-stub-transport
- npm.io page: https://npm.io/package/@types/nodemailer-stub-transport

## Dependencies (1)

- [@types/nodemailer](https://npm.io/package/@types/nodemailer.md) ^3

## Recent versions

- 1.1.8 (latest) — 2023-11-07
- 1.1.6 (ts4.3) — 2023-04-29
- 1.1.5 (ts3.6) — 2021-07-08
- 1.1.4 (ts2.0) — 2017-10-18
- 1.1.7 — 2023-10-18
- 1.1.3 — 2017-08-21
- 1.1.2 — 2016-11-04
- 1.1.1 — 2016-10-26

## README

# Installation
> `npm install --save @types/nodemailer-stub-transport`

# Summary
This package contains type definitions for nodemailer-stub-transport (https://github.com/andris9/nodemailer-stub-transport).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-stub-transport.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-stub-transport/index.d.ts)
````ts
import * as nodemailer from "nodemailer";

declare namespace StubTransportStatic {
    /**
     * Options.
     * @interface
     */
    export interface Options {
        /**
         * Specifies a custom error.
         */
        error?: any;

        /**
         * Value that indicates if the BCC addresses must be included in generated message.
         */
        keepBcc?: boolean | undefined;
    }
}

/**
 * Creates a stub transport.
 * @param {Options} [options] Options.
 * @return {Transport} The stub transport.
 */
declare function stubTransport(options?: StubTransportStatic.Options): nodemailer.Transport;
export = stubTransport;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/nodemailer](https://npmjs.com/package/@types/nodemailer)

# Credits
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher).

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