# @types/mjml

> TypeScript definitions for mjml

Latest version **5.0.0** (published 2026-04-20) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 65/100 (B)** — status: active.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2026-04-20 |
| First published | 2018-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/mjml-core](https://npm.io/package/@types/mjml-core.md) *

## Recent versions

- 5.0.0 (latest) — 2026-04-20
- 4.7.4 (ts4.6) — 2023-11-07
- 4.7.1 (ts4.3) — 2023-04-03
- 4.7.0 (ts3.3) — 2020-12-22
- 4.0.4 (ts3.0) — 2020-03-25
- 4.0.3 (ts2.8) — 2020-02-03
- 4.0.2 (ts2.2) — 2019-02-13
- 4.7.3 — 2023-10-18
- 4.7.2 — 2023-09-27
- 4.0.1 — 2018-10-03
- 4.0.0 — 2018-04-24

## README

# Installation
> `npm install --save @types/mjml`

# Summary
This package contains type definitions for mjml (https://github.com/mjmlio/mjml).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mjml.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mjml/index.d.ts)
````ts
// eslint-disable-next-line @definitelytyped/no-import-default-of-export-equals
import mjml2html from "mjml-core";

export = mjml2html;

````

### Additional Details
 * Last updated: Mon, 20 Apr 2026 18:17:52 GMT
 * Dependencies: [@types/mjml-core](https://npmjs.com/package/@types/mjml-core)

# Credits
These definitions were written by [aahoughton        ](https://github.com/aahoughton), [marpstar          ](https://github.com/marpstar), and [IanEdington       ](https://github.com/IanEdington).

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