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

#252 in WebAssembly

Download history 30/week @ 2024-02-15 81/week @ 2024-02-22 222/week @ 2024-02-29 36/week @ 2024-03-07 254/week @ 2024-03-14 277/week @ 2024-03-21 19/week @ 2024-03-28 131/week @ 2024-04-04 169/week @ 2024-04-11 14/week @ 2024-04-18

186 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
~167K SLoC