Simple and ultra-fast templating tool
to generate HTML from JSON data

Keep your HTML clean of any logic
Using JSON and Javascript only

Works standalone or with dojo, DomAssistant, Ext JS,
jQuery, Mootools, Prototype, Sizzle and Sly

Map HTML classes to the JSON

HTML template

<div class=”who“>
</div>

JSON Data

{
  ”who“: “Hello Wrrrld”
}

Result

<div class=”who“>
  Hello Wrrrld
</div>

 

Or use CSS selectors to map the HTML to the JSON

HTML template

<div class=”who“>
</div>

JSON Data and Directive

data = {
  ”animal“: “cat”
}

directive = {
  ”.who“: “animal
}

Result

<div class=”who“>
  cat
</div>

see some examples