Skip to content
Asynchronous templates for the browser and node.js
Latest commit e81af2c Jun 23, 2011 Aleksander Williams Merge pull request #25 from stonecobra/master
process.binding('evals') is now require('vm')


Asynchronous templates for the browser and node.js


I like Mustache and variants but none of them offers quite what I need.

Use Dust if you want these things:

  • async/streaming operation
  • browser/node compatibility
  • extended Mustache/ctemplate syntax
  • clean, low-level API
  • high performance
  • composable templates

Composable templates?

  Child Title
  Child Content


In Node:

$ npm install dust

To render compiled templates in the browser:

<script src="dust-core-0.3.0.min.js"></script>

Demo & Guide

Extensive docs and a full demo are available at

Something went wrong with that request. Please try again.