Dug.js – A JSONP to HTML Script
Templating solutions such as Mustache and Handlebars falls short when the need to add intelligence to the template. In such cases, the template needs to extended with helper functions, which leads to scattered templating.<p>Another way to implement smart templates is to use XSLT, which is both standardized as well as longtime proven. XSLT is used commonly used with XML but with DefiantJS, it's trivial to transform JSON structures with XSL (additionally, it's possible to search JSON structures with XPath queries using this lib; <a href="http://defiantjs.com/#xpath_evaluator" rel="nofollow">http://defiantjs.com/#xpath_evaluator</a>).