According to the official hogan.js website:
The development of Hogan.js was based on the mustache test suite, so anything that applies to templates as outlined there also holds true for hogan.js.
To get a comprehensive overview of features, it is recommended to refer to the mustache manual, particularly focusing on lambda expressions.
Take a look at this example comparison of implementation between hogan.js and handlebars.js.
Template
{{#bold}}
Willy is awesome.
{{/bold}}
Hogan.js
{
"bold": function() {
return function(text, render) {
return "<b>" + render(text) + "</b>"
}
}
}
Handlebars.js
Handlebars.registerHelper('bold', function(options) {
return new Handlebars.SafeString(
'<b>' + options.fn(this) + '</b>'
);
});
Output
<b>Willy is awesome.</b>