Installation npm install mustache-render Usage mustache-render template.html view.json Or, including partials: mustache-render template.html view.json partials.json For creating a partials.json, have a look at mustache-partials2json