An email&html templating crossover
npm install mustache.mjml> An email & html templating crossover.

---
MJML is a markup language created by Mailjet and designed to reduce the pain of coding a responsive email. Its semantic syntax makes the language easy and straightforward while its rich standard components library shortens your development time and lightens your email codebase. MJML’s open-source engine takes care of translating the MJML you wrote into responsive HTML.
Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object.
Mustache.mjml is a combination of both worlds.
You can get Mustache.mjml via npm.
``bash`
$ npm install mustache.mjml --save
Below is a quick example how to use mustache.mjml:
`js
import mustacheMjml from 'mustache.mjml';
const { template, errors } = mustacheMjml(
Hello {{name}}, its time! {{now}}
);
console.log('template warnings', errors);
const view = {
name: "Joe",
now: function () {
return new Date();
}
};
const output = template(view);
``