{"_id":"templayed","_rev":"539561","name":"templayed","description":"templayed.js (The fastest and smallest Mustache compliant Javascript templating library) for node.js","dist-tags":{"latest":"0.2.3"},"maintainers":[{"name":"helder","email":""}],"time":{"modified":"2021-08-16T07:37:45.000Z","created":"2012-10-11T11:17:46.177Z","0.2.3":"2013-01-24T01:24:44.657Z","0.2.2":"2013-01-23T20:04:35.535Z","0.2.1":"2012-10-25T16:28:12.017Z","0.2.0":"2012-10-11T11:17:46.177Z"},"users":{"tunnckocore":true,"j.su":true},"author":{"name":"Paul Engel, Helder Santana"},"repository":{"type":"git","url":"git://github.com/heldr/node-templayed.git"},"versions":{"0.2.3":{"name":"templayed","version":"0.2.3","description":"templayed.js (The fastest and smallest Mustache compliant Javascript templating library) for node.js","main":"templayed.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/heldr/node-templayed.git"},"keywords":["template","engine","mustache","mustache.js"],"author":{"name":"Paul Engel, Helder Santana"},"license":"MIT","readmeFilename":"README.md","_id":"templayed@0.2.3","dist":{"shasum":"4706df625bc6aecd86b7c9f6b0fb548b95cdf769","size":1758,"noattachment":false,"key":"/templayed/-/templayed-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/templayed/download/templayed-0.2.3.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"helder","email":"heldr@me.com"},"maintainers":[{"name":"helder","email":""}],"directories":{},"publish_time":1358990684657,"_cnpm_publish_time":1358990684657,"_hasShrinkwrap":false},"0.2.2":{"name":"templayed","version":"0.2.2","description":"templayed.js (The fastest and smallest Mustache compliant Javascript templating library) for node.js","main":"templayed.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/heldr/node-templayed.git"},"keywords":["template","engine","mustache","mustache.js"],"author":{"name":"Paul Engel, Helder Santana"},"license":"MIT","readmeFilename":"README.md","_id":"templayed@0.2.2","dist":{"shasum":"d36bdbba1e1baae04c635ea1ed51b8b3f9206fa5","size":1744,"noattachment":false,"key":"/templayed/-/templayed-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/templayed/download/templayed-0.2.2.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"helder","email":"helder.css@gmail.com"},"maintainers":[{"name":"helder","email":""}],"directories":{},"publish_time":1358971475535,"_cnpm_publish_time":1358971475535,"_hasShrinkwrap":false},"0.2.1":{"name":"templayed","version":"0.2.1","description":"templayed.js (The fastest and smallest Mustache compliant Javascript templating library) for node.js","main":"templayed.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/heldr/node-templayed.git"},"keywords":["template","engine","mustache","mustache.js"],"author":{"name":"Paul Engel, Helder Santana"},"license":"MIT","_id":"templayed@0.2.1","dist":{"shasum":"2ad3ac4753028ebeb40c56aa7a646dcb60e4c6c9","size":1754,"noattachment":false,"key":"/templayed/-/templayed-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/templayed/download/templayed-0.2.1.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"helder","email":"heldr@me.com"},"maintainers":[{"name":"helder","email":""}],"directories":{},"publish_time":1351182492017,"_cnpm_publish_time":1351182492017,"_hasShrinkwrap":false},"0.2.0":{"name":"templayed","version":"0.2.0","description":"templayed.js (The fastest and smallest Mustache compliant Javascript templating library) for node.js","main":"templayed.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/heldr/node-templayed.git"},"keywords":["template","engine","mustache","mustache.js"],"author":{"name":"Paul Engel, Helder Santana"},"license":"MIT","_id":"templayed@0.2.0","dist":{"shasum":"c8b668d859221d8f198489729118227bda1f8b11","size":1817,"noattachment":false,"key":"/templayed/-/templayed-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/templayed/download/templayed-0.2.0.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"helder","email":"heldr@me.com"},"maintainers":[{"name":"helder","email":""}],"directories":{},"publish_time":1349954266177,"_cnpm_publish_time":1349954266177,"_hasShrinkwrap":false}},"readme":"node-templayed\n==============\n\nA simple port of [templayed.js][templayed] for node.js\n\n> The fastest and smallest Mustache compliant Javascript templating library\n[See more][templayed]\n\n## Getting Started\nInstall it just running `npm install templayed` into your project.\n\n## HOW TO USE\n```js\nvar templayed = require('templayed');\n\nvar tpl  = \"<ul>{{#names}}<li>{{../fullName}}</li>{{/names}}</ul>\",\n    data = {\n        names: [{firstName: \"Paul\", lastName: \"Engel\"}, {firstName: \"Chunk\", lastName: \"Norris\"}],\n        fullName: function() {\n            return this.lastName + \", \" + this.firstName;\n        }\n    };\n\nvar html = templayed(tpl)(data);\n\nconsole.log( html ); //=> \"<ul><li>Engel, Paul</li><li>Norris, Chunk</li></ul>\";\n```\n\n##JS PERF BENCHMARK\n[![JS PERF](https://raw.github.com/archan937/templayed.js/master/demo/assets/jsperf-benchmarks.png)](http://jsperf.com/mustache-compliant-libraries)\n\n## CREDITS\n[Paul Engel][author] and [Helder Santana][gitio]\n\n[templayed]: https://github.com/archan937/templayed.js\n[author]: https://github.com/archan937\n[gitio]: http://heldr.com","_attachments":{},"readmeFilename":"README.md","license":"MIT"}