You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

mjml-migrate-4-terser

Package Overview
Dependencies
6
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-migrate-4-terser

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


Version published
Maintainers
0
Created

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

Package last updated on 06 Jul 2024

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc