15 stable releases
1.4.12 | Jul 3, 2024 |
---|---|
1.4.11 | Jun 13, 2024 |
1.4.10 | Apr 13, 2024 |
1.4.8 | Mar 21, 2024 |
1.2.3 | Mar 11, 2022 |
#239 in WebAssembly
38 downloads per month
625KB
16K
SLoC
MRML Wasm
This project is a reimplementation of the nice MJML
markup language in Rust, built in webassenbly.
To have more information, take a look at the repository.
Usage on the browser 🌍
import { Engine } from "mrml";
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");
Usage on node 💻
const { Engine } = require("mrml/node/mrml");
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");
Dependencies
~3–13MB
~156K SLoC