new Mustache()
Built-in implemenation of Mustache. See https://mustache.github.io
Methods
(static) render(template, data, partialsopt) → {string}
Renders the template with the data
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| template | string | The template string to be expanded | |
| data | object | The expansion data object | |
| partials | object | <optional> | Optional partials | 
Throws:
- If the mustache expansion runs into any error 
Returns:
The expanded output
- Type:
- string