13 stable releases

1.4.10 Apr 13, 2024
1.4.9 Apr 5, 2024
1.4.8 Mar 21, 2024
1.4.3 Feb 28, 2024
1.2.3 Mar 11, 2022

#238 in WebAssembly

Download history 5/week @ 2024-01-08 30/week @ 2024-02-12 181/week @ 2024-02-26 150/week @ 2024-03-04 128/week @ 2024-03-11 411/week @ 2024-03-18 141/week @ 2024-04-01 161/week @ 2024-04-08 31/week @ 2024-04-15

345 downloads per month

MIT license

595KB
15K 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

~2–16MB
~166K SLoC