Skip to content
Newer
Older
100644 45 lines (33 sloc) 841 Bytes
845ca31 updated README, docs
akdubya authored
1 Dust
2 ====
3
4 > Asynchronous templates for the browser and node.js
5
6 #### <http://akdubya.github.com/dustjs> #
7
8 Why?
9 ----
10
11 I like [Mustache](http://mustache.github.com) and variants but none of them offer quite what I need.
12
13 Use Dust if you want these things:
14
15 * async/streaming operation
16 * browser/node compatibility
17 * extended Mustache/ctemplate syntax
18 * clean, low-level API
19 * [high performance](http://akdubya.github.com/dustjs/benchmark/index.html)
20 * composable templates
21
22 Composable templates?
23 ---------------------
24
25 {^xhr}
26 {>base_template/}
27 {:else}
28 {+main/}
29 {/xhr}
30 {<title}
31 Child Title
32 {/title}
33 {<main}
34 Child Content
35 {/main}
36
37 Installation
38 ------------
39
40 $ npm install dust
41
42 Demo & Guide
43 ------------
44
45 Extensive docs and a full demo are available at <http://akdubya.github.com/dustjs>
Something went wrong with that request. Please try again.