{dust}

1. Select a template or write your own:
Ready
2. The compiled template registers itself by name:
(function() {
dust.register("demo", body_0);
function body_0(chk, ctx) {
return chk.write("Hello ").reference(ctx.get("name"), ctx, "h").write("! You have ").reference(ctx.get("count"),
ctx, "h").write(" new messages.");
}
return body_0;
})();
3. Control template behavior with contexts and helpers:
Ready
4. Render or stream the result:
Hello Mick! You have 30 new messages.