mrml-wasm

Crates.iomrml-wasm
lib.rsmrml-wasm
version1.4.12
sourcesrc
created_at2022-03-11 15:59:23.350239
updated_at2024-07-03 18:30:17.145914
descriptionWasm wrapping on MRML
homepage
repositoryhttps://github.com/jdrouet/mrml/
max_upload_size
id548268
size35,527
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: 926

cargo fmt