Skip to content

sulfureux/mjml-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mjml-r

For Nodejs only

MJML generator with recursive

install

yarn add mjml-r
const mjmlR = require("mjml-r");

templatesPath = "tempDir";
genPath = "genPath";
ignoreFiles = [".DS_Store"]; // option
clearOldGens = true; // option; default false

mjmlR(dirPath, genPath, ignoreFiles, clearOldGens);