{"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","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## 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","readmeFilename":"README.md","_id":"templayed@0.2.3","dist":{"shasum":"4706df625bc6aecd86b7c9f6b0fb548b95cdf769","tarball":"http://registry-npm.ywwl.com/templayed/download/templayed-0.2.3.tgz","integrity":"sha512-PkryVKPQ++1gp2sVUREJhGmtK2GF/DNEZ0KnGcam0dyD+XbFO+IWp9/vPIOfpLRzwW1SMrcr/5BkA0yMbNYPGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAkFd28hiwY1Hnfb6ubXrn6v+DT2YY1EmuTxVRdr7ElAiEA8gAETbCbwEWSvuMpAPAMTcdwhB2soaukoikSahQ9ZOE="}],"size":1758,"noattachment":false,"key":"/templayed/-/templayed-0.2.3.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"helder","email":"heldr@me.com"},"maintainers":[{"name":"helder","email":"heldr@me.com"}],"directories":{},"publish_time":1358990684657,"_cnpm_publish_time":1358990684657,"dist-tags":{"latest":"0.2.3"}}