{"_id":"jengine-template","_rev":"5-68022db187330c50e3cfb9bde7d7f6a9","name":"jengine-template","description":"powerful javascript template engine","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"jengine-template","version":"0.1.2","description":"powerful javascript template engine","main":"template.js","repository":{"type":"git","url":"git@github.com:jstools/template.git"},"keywords":["javascript","jstools","demo"],"author":{"name":"Jesús Manuel Germade Castiñeiras","email":"jesus@germade.es"},"license":"MIT","bugs":{"url":"https://github.com/jstools/template/issues"},"homepage":"https://github.com/jstools/template","devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"latest","grunt-increase-version":"latest","grunt-karma":"^0.9.0","grunt-shell":"latest","jasmine":"^2.1.1","jasmine-core":"^2.1.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.7","karma-firefox-launcher":"^0.1.4","karma-jasmine":"^0.3.2","load-grunt-tasks":"latest","time-grunt":"latest"},"scripts":{"test":"grunt test","posttest":"grunt uglify:min"},"gitHead":"4ecbd166a0e388404fbdbaa393071ba8bca503a1","_id":"jengine-template@0.1.2","_shasum":"0117b2e847c1b769fdc7f715d69038085caa5a63","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"jgermade","email":"jesus@germade.es"},"maintainers":[{"name":"jgermade","email":"jesus@germade.es"}],"dist":{"shasum":"0117b2e847c1b769fdc7f715d69038085caa5a63","tarball":"https://registry.npmjs.org/jengine-template/-/jengine-template-0.1.2.tgz","integrity":"sha512-WIRvpY3So5VO4AOkHS1Uu1T/xrOR12GFy4cKL0E0U1+xO+ERC8MK/smasRCAM9TmiHMYRsTuqAL4JzmPIqqafg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcgx9Sy8w7RPyw04VtHTqHlUO1ymv4MF2DbTv1svf+8AiEA+B0CtcJlrIxyauDc0ry5cCDdRi8w1lcfCz/KcusgBIU="}]}}},"readme":"jEngine: $template [![wercker status](https://app.wercker.com/status/514973e1d34c9367cf40985a577c9c2a/s \"wercker status\")](https://app.wercker.com/project/bykey/514973e1d34c9367cf40985a577c9c2a)\n=============================\n[![Bower version](https://badge.fury.io/bo/jengine-template.svg)](http://badge.fury.io/bo/jengine-template)\n[![npm version](https://badge.fury.io/js/jengine-template.svg)](http://badge.fury.io/js/jengine-template)\n[![Build Status](https://travis-ci.org/jstools/template.svg?branch=master)](https://travis-ci.org/jstools/template)\nInstallation\n------------\n```.sh\nnpm install jengine-template --save\n```\n  or\n```.sh\nbower install jengine-template --save\n```\nUsage\n-----\n```.js\nvar data = {\n  foo: 'bar',\n  crash: {\n    test: 'dummy'\n  },\n  list: ['foo', 'bar', 'foobar'],\n  map: {\n    hi: 'all',\n    bye: 'nobody'\n  },\n  template: 'sample',\n  label: {\n    cancel: 'cancel'\n  }\n};\n\n$template.compile('$if{ foo === \"bar\" }gogogo{:}whoops{/}')(data)\n// returns 'gogogo'\n\n$template.compile('$each{ item, key in map }[${foo}:${key}:${item}]{/}')(data);\n// returns '[bar:hi:all][bar:bye:nobody]'\n```\n","maintainers":[{"name":"gsusgz","email":"gsusgz@gmail.com"}],"time":{"modified":"2022-06-19T04:07:40.805Z","created":"2015-05-16T07:23:05.805Z","0.1.2":"2015-05-16T07:23:05.805Z"},"homepage":"https://github.com/jstools/template","keywords":["javascript","jstools","demo"],"repository":{"type":"git","url":"git@github.com:jstools/template.git"},"author":{"name":"Jesús Manuel Germade Castiñeiras","email":"jesus@germade.es"},"bugs":{"url":"https://github.com/jstools/template/issues"},"license":"MIT","readmeFilename":"README.md"}