🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

mjml-cli

Package Overview
Dependencies
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-cli

MJML: the only framework that makes responsive-email easy

4.15.3
latest
Source
npm
Version published
Weekly downloads
806K
2.4%
Maintainers
6
Weekly downloads
 
Created

What is mjml-cli?

The mjml-cli package is a command-line interface for MJML, a markup language designed to reduce the pain of coding responsive emails. It allows you to easily convert MJML files into responsive HTML emails.

What are mjml-cli's main functionalities?

Convert MJML to HTML

This command converts an MJML file (input.mjml) into an HTML file (output.html).

mjml input.mjml -o output.html

Watch Mode

This command watches the input MJML file for changes and automatically converts it to HTML whenever the file is modified.

mjml -w input.mjml -o output.html

Minify Output

This command converts an MJML file to a minified HTML file, reducing the file size for better performance.

mjml input.mjml -o output.html --config.minify true

Validate MJML

This command validates the MJML file for any syntax errors or warnings.

mjml -v input.mjml

Other packages similar to mjml-cli

FAQs

Package last updated on 05 Feb 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