Socket
Socket
Sign inDemoInstall

mjml-validator

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-validator - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "mjml-validator",
"description": "mjml-validator",
"version": "3.0.1",
"version": "3.0.2",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "repository": {

@@ -1,7 +0,7 @@

# mjml-validator
# Validating MJML
MJML provides a validation layer that helps you building your email. It can detect if you misplaced or mispelled a MJML component, or if you used any unauthorised attribute on a specific component. It supports 3 levels of validation:
- skip: your document is rendered without going through validation
- soft: your document is going through validation and is rendered, even if it has errors
- strict: your document is going through validation and is not rendered if it has any error
* skip: your document is rendered without going through validation
* soft: your document is going through validation and is rendered, even if it has errors
* strict: your document is going through validation and is not rendered if it has any error

@@ -17,3 +17,3 @@ By default, the level is set to `soft`.

```bash
$> mjml --validate template.mjml
$> mjml --validate template.mjml
```

@@ -24,3 +24,3 @@

```bash
$> mjml -l skip -r template.mjml
$> mjml -l skip -r template.mjml
```

@@ -27,0 +27,0 @@

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