mjml-browser
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/mjml-browser package

4.15.3 • Public • Published

MJML Browser build

This package allows MJML to be used client-side.

Usage

It can be used as the regular mjml package :

var mjml2html = require('mjml-browser')

var result = mjml2html(mjml, options)

Unavailable features

  • mj-include tags are unavailable and will be ignored.
  • features involving the .mjmlconfig file are unavailable, which means no custom components.

Dependents (67)

Package Sidebar

Install

npm i mjml-browser

Homepage

mjml.io

Weekly Downloads

20,923

Version

4.15.3

License

MIT

Unpacked Size

1.28 MB

Total Files

4

Last publish

Collaborators

  • iryusa
  • kmcb