# @types/keystonejs__email

> TypeScript definitions for @keystonejs/email

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

## Install

```sh
npm install @types/keystonejs__email
pnpm add @types/keystonejs__email
yarn add @types/keystonejs__email
bun add @types/keystonejs__email
```

## 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 | 5.0.6 |
| Published | 2023-11-07 |
| First published | 2019-11-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

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

## Recent versions

- 5.0.6 (latest) — 2023-11-07
- 5.0.2 (ts4.3) — 2023-09-01
- 5.0.1 (ts3.6) — 2021-07-08
- 5.0.0 (ts3.5) — 2019-11-15
- 5.0.5 — 2023-10-18
- 5.0.4 — 2023-09-27
- 5.0.3 — 2023-09-14

## README

# Installation
> `npm install --save @types/keystonejs__email`

# Summary
This package contains type definitions for @keystonejs/email (https://github.com/keystonejs/keystone).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keystonejs__email.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keystonejs__email/index.d.ts)
````ts
// Because this is a scoped package, without this line Typescript doesn't associate the
// types with the right package.
/* eslint-disable @definitelytyped/no-declare-current-package */
// eslint-disable-next-line @definitelytyped/no-single-declare-module
declare module "@keystonejs/email" {
    type Sender = (
        fileName: string,
    ) => {
        send: (rendererOpts: any, transportOptions: any) => any;
    };
    interface MailSenderBuilder {
        mjml: (opts?: { root?: string | undefined; transport?: string | undefined }) => Sender;
        jsx: (opts?: { root?: string | undefined; transport?: string | undefined }) => Sender;
        pug: (opts?: { root?: string | undefined; transport?: string | undefined }) => Sender;
    }

    const emailSender: MailSenderBuilder;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: none

# Credits
These definitions were written by [Kevin Brown](https://github.com/thekevinbrown), and [Timothee Clain](https://github.com/tclain).

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