mjml-migrate
4.15.3 • Public • Published 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
Versions
Current Tags
Version History
- VersionDownloads (Last 7 Days)
- 5.0.0-alpha.0
2
- 4.15.3
274,274
- 4.15.2
5,830
- 4.15.1
23
- 4.15.0
80
- 4.14.1
195,434
- 4.14.0
3,753
- 4.13.0
98,807
- 4.12.0
85,456
- 4.11.0
7,990
- 4.10.4
9,477
- 4.10.3
4,117
- 4.10.2
15,392
- 4.10.1
2,264
- 4.10.0
3,441
- 4.9.3
18,027
- 4.9.2
4
- 4.9.1
760
- 4.9.0
5,425
- 4.8.2
416
- 4.8.1
6,955
- 4.8.0
352
- 4.7.1
11,681
- 4.7.0
948
- 4.7.0-beta.2
2
- 4.7.0-beta.1
4
- 4.7.0-beta.0
0
- 4.6.3
12,525
- 4.6.3-alpha.0
0
- 4.6.2
0
- 4.6.0
3,314
- 4.5.0
21,379
- 4.4.1
943
- 4.4.0
877
- 4.4.0-beta.3
0
- 4.4.0-beta.2
194
- 4.4.0-beta.1
864
- 4.3.1
3,887
- 4.3.0
159
- 4.2.1
115
- 4.2.0
616
- 4.2.0-beta.3
2
- 4.2.0-beta.2
91
- 4.2.0-beta.1
0
- 4.1.2
382
- 4.1.1
24
- 4.1.0
66
- 4.1.0-beta.4
0
- 4.1.0-beta.3
0
- 4.1.0-beta.2
0
- 4.1.0-beta.1
0
- 4.0.5
109
- 4.0.4
3
- 4.0.1
35
- 4.0.0
0
- 4.0.0-beta.2
0
- 4.0.0-beta.1
0
- 0.0.6
1
- 0.0.5
0
- 0.0.4
0
- 0.0.3
0
Package Sidebar
Install
Weekly Downloads