npm.io
5.4.0 • Published 4d ago

mjml-core

Licence
MIT
Version
5.4.0
Deps
12
Size
86 kB
Vulns
0
Weekly
0
Stars
18.1K

mjml-core

Installation

npm install --save mjml-core

This is the core mjml library, composed by a set of functions for both parsing, and rendering mjml

Usage
import mjml2html from 'mjml'

async function example() {
  const result = await mjml2html(`code`)
  console.log(result)
}

example()