Skip to content

port8000/compile_mustache

Repository files navigation

Compile Mustache

Compile Mustache templates on the command line in PHP, Python or JavaScript. Optionally provide a JSON file containing input data.

Synopsis:

compile_mustache TEMPLATE.mustache [DATA.json] > OUTPUT.html

Requirements:

  • PHP: composer install

  • Python: `pip install -r pip.txt

  • JavaScript/Node: npm install

  • All together: make