Socket
Socket
Sign inDemoInstall

mjml-migrate

Package Overview
Dependencies
87
Maintainers
6
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mjml-migrate

A tool to migrate a template from MJML 3 to MJML 4


Version published
Weekly downloads
514K
decreased by-15.37%
Maintainers
6
Install size
13.5 MB
Created
Weekly downloads
 

Readme

Source

mjml-migrate

Purpose

Makes a template following the MJML 3 syntax compatible with MJML 4.

Installation

Clone the repo & npm install or install via NPM: npm install mjml-migrate

Usage

migrate <input> <output>

What happens

  • mj-container is removed and its attributes are passed to mj-body
  • Unitless values are converted to px
  • mj-social's syntax is replaced with the v4 syntax
  • Unsupported tags (defined in unavailableTags in config.js) are removed

FAQs

Last updated on 05 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc