jstransformer-mjml

0.2.1 • Public • Published

jstransformer-mjml

MJML support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-mjml

API

var mjml = require('jstransformer')(require('jstransformer-mjml'))
 
var input = `<mj-body>
  <mj-section>
    <mj-column>
      <mj-text>
        Hello World!
      </mj-text>
    </mj-column>
  </mj-section>
</mj-body>`
 
mjml.render(input).body
//=> The repsonsive HTML generated

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i jstransformer-mjml

Weekly Downloads

2

Version

0.2.1

License

MIT

Last publish

Collaborators

  • calebeby
  • forbeslindesay
  • hemanth
  • robloach
  • stoeffel
  • timothygu