JSPM

  • Created
  • Published
  • Downloads 817886
  • Score
    100M100P100Q255413F
  • License MIT

mjml-core

Package Exports

  • mjml-core
  • mjml-core/lib/createComponent
  • mjml-core/lib/helpers/conditionalTag
  • mjml-core/lib/helpers/widthParser
  • mjml-core/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mjml-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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'

console.log(mjml2html(`code`))