Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

MJML support for JSTransformers

Resources

License

Packages

No packages published