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 |
#246 in WebAssembly
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–14MB
~159K SLoC