Crates.io | mrml-wasm |
lib.rs | mrml-wasm |
version | 1.4.12 |
source | src |
created_at | 2022-03-11 15:59:23.350239 |
updated_at | 2024-07-03 18:30:17.145914 |
description | Wasm wrapping on MRML |
homepage | |
repository | https://github.com/jdrouet/mrml/ |
max_upload_size | |
id | 548268 |
size | 35,527 |
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.
import { Engine } from "mrml";
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");
const { Engine } = require("mrml/node/mrml");
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");