Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mjml-migrate

Package Overview
Dependencies
Maintainers
5
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 4.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
533K
decreased by-12.17%
Maintainers
5
Weekly downloads
 
Created
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

Package last updated on 18 Jul 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc