# mjml-preset-core

> mjml-preset-core

Latest version **5.4.1** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install mjml-preset-core
pnpm add mjml-preset-core
yarn add mjml-preset-core
bun add mjml-preset-core
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

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

## Facts

| | |
|---|---|
| Version | 5.4.1 |
| Published | 2026-09-10 |
| First published | 2021-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 26 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18235 |
| Maintainers | iryusa, kmcb, totocap |

## Links

- npm: https://www.npmjs.com/package/mjml-preset-core
- Repository: https://github.com/mjmlio/mjml
- Homepage: https://mjml.io
- Issues: https://github.com/mjmlio/mjml/issues
- npm.io page: https://npm.io/package/mjml-preset-core

## Dependencies (26)

- [mjml-raw](https://npm.io/package/mjml-raw.md) 5.4.1
- [mjml-body](https://npm.io/package/mjml-body.md) 5.4.1
- [mjml-head](https://npm.io/package/mjml-head.md) 5.4.1
- [mjml-hero](https://npm.io/package/mjml-hero.md) 5.4.1
- [mjml-text](https://npm.io/package/mjml-text.md) 5.4.1
- [mjml-group](https://npm.io/package/mjml-group.md) 5.4.1
- [mjml-image](https://npm.io/package/mjml-image.md) 5.4.1
- [mjml-table](https://npm.io/package/mjml-table.md) 5.4.1
- [mjml-button](https://npm.io/package/mjml-button.md) 5.4.1
- [mjml-column](https://npm.io/package/mjml-column.md) 5.4.1
- [mjml-navbar](https://npm.io/package/mjml-navbar.md) 5.4.1
- [mjml-social](https://npm.io/package/mjml-social.md) 5.4.1
- [mjml-spacer](https://npm.io/package/mjml-spacer.md) 5.4.1
- [mjml-divider](https://npm.io/package/mjml-divider.md) 5.4.1
- [mjml-section](https://npm.io/package/mjml-section.md) 5.4.1
- [mjml-wrapper](https://npm.io/package/mjml-wrapper.md) 5.4.1
- [mjml-carousel](https://npm.io/package/mjml-carousel.md) 5.4.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.28.4
- [mjml-accordion](https://npm.io/package/mjml-accordion.md) 5.4.1
- [mjml-head-font](https://npm.io/package/mjml-head-font.md) 5.4.1
- [mjml-head-style](https://npm.io/package/mjml-head-style.md) 5.4.1
- [mjml-head-title](https://npm.io/package/mjml-head-title.md) 5.4.1
- [mjml-head-preview](https://npm.io/package/mjml-head-preview.md) 5.4.1
- [mjml-head-attributes](https://npm.io/package/mjml-head-attributes.md) 5.4.1
- [mjml-head-breakpoint](https://npm.io/package/mjml-head-breakpoint.md) 5.4.1
- [mjml-head-html-attributes](https://npm.io/package/mjml-head-html-attributes.md) 5.4.1

## Recent versions

- 5.4.1 (latest) — 2026-09-10
- 5.2.0-beta.1 (beta) — 2026-05-06
- 5.0.0-alpha.11 (experimental) — 2026-02-10
- 5.4.0 — 2026-06-29
- 5.3.0 — 2026-05-27
- 5.2.2 — 2026-05-19
- 5.2.1 — 2026-05-12
- 5.2.0 — 2026-05-07
- 5.1.0 — 2026-04-24
- 5.1.0-beta.1 — 2026-04-24
- 5.0.1 — 2026-04-16
- 5.1.0-alpha.1 — 2026-04-16
- 5.0.0 — 2026-04-16
- 5.0.0-beta.2 — 2026-03-19
- 5.0.0-beta.1 — 2026-03-03
- … 34 more at https://npm.io/package/mjml-preset-core/versions

## README

## mjml-preset-core

### Installation

```bash
npm install --save mjml-preset-core
```

This is the set of mjml components bundled together for simple setup.

### Usage

```javascript
import mjml2html from 'mjml-core'
import presetCore from 'mjml-preset-core'

async function example() {
  const result = await mjml2html(`code`, { presets: [presetCore] })
  console.log(result)
}

example()
```

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