Socket
Socket
Sign inDemoInstall

mjml-migrate

Package Overview
Dependencies
Maintainers
1
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


Version published
Weekly downloads
637K
decreased by-0.59%
Maintainers
1
Weekly downloads
 
Created
Source

mjml-migrate

Purpose

Makes a template coded for MJML 3 compatible with MJML 4

Installation

npm install

Usage

babel-node index.js input output

The output can be either a filename or -s to ouput the migrated template to stdout.

What happens

  • mj-container is removed and its attributes are passed to mj-body
  • Unitless values are converted to px
  • Unsupported tags (defined in unavailableTags) are removed

FAQs

Package last updated on 30 Oct 2017

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