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.

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i mjml-browser

    Homepage

    mjml.io

    Weekly Downloads

    19,064

    Version

    4.15.3

    License

    MIT

    Unpacked Size

    1.28 MB

    Total Files

    4

    Last publish

    Collaborators

    • iryusa
    • kmcb