mstch

C++ library implementing mustache template syntax

brewmacoslinux
Try with needOr install directly
Source

About

Complete implementation of {{mustache}} templates using modern C++

Commands

mstch

Examples

Render a simple mustache template with data$ echo '{"name": "World"}' | mstch 'Hello {{name}}!'
Process a template file with JSON data$ mstch template.mustache data.json > output.txt
Use mstch library in C++ code with include directive$ #include <mstch/mstch.hpp>