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
1
- 4.15.3
222,891
- 4.15.2
6,093
- 4.15.1
4
- 4.15.0
145
- 4.14.1
210,211
- 4.14.0
2,611
- 4.13.0
81,644
- 4.12.0
42,736
- 4.11.0
4,267
- 4.10.4
5,303
- 4.10.3
2,686
- 4.10.2
2,352
- 4.10.1
1,532
- 4.10.0
262
- 4.9.3
4,267
- 4.9.2
1
- 4.9.1
78
- 4.9.0
1,870
- 4.8.2
184
- 4.8.1
3,180
- 4.8.0
333
- 4.7.1
3,618
- 4.7.0
412
- 4.7.0-beta.2
28
- 4.7.0-beta.1
3
- 4.7.0-beta.0
0
- 4.6.3
5,967
- 4.6.3-alpha.0
0
- 4.6.2
0
- 4.6.0
1,024
- 4.5.0
9,715
- 4.4.1
640
- 4.4.0
10,021
- 4.4.0-beta.3
1
- 4.4.0-beta.2
30
- 4.4.0-beta.1
54
- 4.3.1
2,242
- 4.3.0
5
- 4.2.1
559
- 4.2.0
99
- 4.2.0-beta.3
0
- 4.2.0-beta.2
7
- 4.2.0-beta.1
0
- 4.1.2
26
- 4.1.1
16
- 4.1.0
5
- 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
379
- 4.0.4
0
- 4.0.1
44
- 4.0.0
2
- 4.0.0-beta.2
0
- 4.0.0-beta.1
0
- 0.0.6
0
- 0.0.5
0
- 0.0.4
0
- 0.0.3
0
Package Sidebar
Install
Weekly Downloads