mrml-wasm

Crates.iomrml-wasm
lib.rsmrml-wasm
version1.5.0
created_at2022-03-11 15:59:23.350239+00
updated_at2025-03-01 08:11:47.280235+00
descriptionWasm wrapping on MRML
homepage
repositoryhttps://github.com/jdrouet/mrml/
max_upload_size
id548268
size80,556
Jérémie Drouet (jdrouet)

documentation

README

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>");
Commit count: 1003

cargo fmt