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

#260 in WebAssembly

Download history 21/week @ 2024-03-29 132/week @ 2024-04-05 167/week @ 2024-04-12 13/week @ 2024-04-19 3/week @ 2024-05-17 2/week @ 2024-05-24 72/week @ 2024-06-07 54/week @ 2024-06-14 3/week @ 2024-06-21 90/week @ 2024-06-28 22/week @ 2024-07-05

116 downloads per month

MIT license

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
~164K SLoC