{"_id":"tpl-loader","_rev":"12-5c0ae4d7291f502235fa6abfb2764eef","name":"tpl-loader","description":"Underscore Templates loader for webpack","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"tpl-loader","version":"0.1.0","description":"Underscore Templates loader for webpack","main":"index.js","repository":{"type":"git","url":"https://github.com/grassator/tpl-loader.git"},"keywords":["ejs","underscrore","lodash","_","webpack","loader","template"],"author":{"name":"Dmitriy Kubyshkin","email":"dmitriy@kubyshkin.ru"},"license":"MIT","peerDependencies":{"lodash":"*"},"gitHead":"d2767c4bddb1e9ed7c399e54f050fc29a9f195c0","bugs":{"url":"https://github.com/grassator/tpl-loader/issues"},"homepage":"https://github.com/grassator/tpl-loader","_id":"tpl-loader@0.1.0","scripts":{},"_shasum":"f64e333d49e66577dc2621aafc1e8fd21aacea25","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"grassator","email":"dmitriy@kubyshkin.ru"},"maintainers":[{"name":"grassator","email":"dmitriy@kubyshkin.ru"}],"dist":{"shasum":"f64e333d49e66577dc2621aafc1e8fd21aacea25","tarball":"https://registry.npmjs.org/tpl-loader/-/tpl-loader-0.1.0.tgz","integrity":"sha512-2xtC2SVpjGepCTT2vs8B4cBHuTQ3tx7+MI8wU5cuFZp4dIMfaM3VUR1b15wXIWV/B58A1nY7cX1teUQhR2Todw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHpubg2vNTpOHg/dquWRoRUe6xToOKrqybRq9zo2r3AfAiEAlfV8w7+hA3B1ueBmGaiLxW1I0sjbX/FBxD6cPIy+73s="}]}},"0.1.1":{"name":"tpl-loader","version":"0.1.1","description":"Underscore Templates loader for webpack","main":"index.js","repository":{"type":"git","url":"https://github.com/grassator/tpl-loader.git"},"keywords":["ejs","underscrore","lodash","_","webpack","loader","template"],"author":{"name":"Dmitriy Kubyshkin","email":"dmitriy@kubyshkin.ru"},"license":"MIT","peerDependencies":{"lodash":"*"},"gitHead":"6b63297adc7550fdc39a11ef427faec35ce01f29","bugs":{"url":"https://github.com/grassator/tpl-loader/issues"},"homepage":"https://github.com/grassator/tpl-loader","_id":"tpl-loader@0.1.1","scripts":{},"_shasum":"337db1c6cf508154f97155ad9fcea36e10cad966","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"grassator","email":"dmitriy@kubyshkin.ru"},"maintainers":[{"name":"grassator","email":"dmitriy@kubyshkin.ru"}],"dist":{"shasum":"337db1c6cf508154f97155ad9fcea36e10cad966","tarball":"https://registry.npmjs.org/tpl-loader/-/tpl-loader-0.1.1.tgz","integrity":"sha512-jCtwQRRN5ANr3zbAtCr77qPZ2MkbsB1i2zCe9x+sM/hYwEeWGvVXkxebC86Syu4+dPVT8AP3XqfkM20NDe1Ggw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP3fICTRxE++2AWTSoGC3V1oeq0dt0aDzVk5DUDgz+nwIhAKTtweppX9hqzSpjxq/UUF49cJd7waWu5P9iJqmPhSQ+"}]}},"0.2.0":{"name":"tpl-loader","version":"0.2.0","description":"Underscore Templates loader for webpack","main":"index.js","repository":{"type":"git","url":"https://github.com/grassator/tpl-loader.git"},"keywords":["ejs","underscrore","lodash","_","webpack","loader","template"],"author":{"name":"Dmitriy Kubyshkin","email":"dmitriy@kubyshkin.ru"},"license":"MIT","peerDependencies":{"lodash":"*"},"gitHead":"71a5107eee8edc7a6c312c84acfe58451c006838","bugs":{"url":"https://github.com/grassator/tpl-loader/issues"},"homepage":"https://github.com/grassator/tpl-loader","_id":"tpl-loader@0.2.0","scripts":{},"_shasum":"5007843bd6e292da72887589d3700e5c3e9d8ac3","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"grassator","email":"dmitriy@kubyshkin.ru"},"maintainers":[{"name":"grassator","email":"dmitriy@kubyshkin.ru"}],"dist":{"shasum":"5007843bd6e292da72887589d3700e5c3e9d8ac3","tarball":"https://registry.npmjs.org/tpl-loader/-/tpl-loader-0.2.0.tgz","integrity":"sha512-mT/hFrE9ijwd0Qo3BtY0oUpTcCLVIKpMUElOevpDTO9t8dSISqwmhzSQWwfdbnxY4NWf2yhUmcLyDN6vL+do8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN6Ho2q6+PSChei2xQhI+t9zELfm3XjagKUrPJpeY3AgIhALmDyOsUf+6VhoIQdQBKG1kIYHvZJGE4NW7wQc2A1ev9"}]}},"0.2.1":{"name":"tpl-loader","version":"0.2.1","description":"Underscore Templates loader for webpack","main":"index.js","repository":{"type":"git","url":"https://github.com/grassator/tpl-loader.git"},"keywords":["ejs","underscrore","lodash","_","webpack","loader","template"],"author":{"name":"Dmitriy Kubyshkin","email":"dmitriy@kubyshkin.ru"},"license":"MIT","peerDependencies":{"lodash":"*"},"gitHead":"df4694b171628500c45fc436a5612e01e97fdacb","bugs":{"url":"https://github.com/grassator/tpl-loader/issues"},"homepage":"https://github.com/grassator/tpl-loader","_id":"tpl-loader@0.2.1","scripts":{},"_shasum":"043e3e11e0f7d7b280ab753a94c672fe88231ad9","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"grassator","email":"dmitriy@kubyshkin.ru"},"maintainers":[{"name":"grassator","email":"dmitriy@kubyshkin.ru"}],"dist":{"shasum":"043e3e11e0f7d7b280ab753a94c672fe88231ad9","tarball":"https://registry.npmjs.org/tpl-loader/-/tpl-loader-0.2.1.tgz","integrity":"sha512-X3UxucM85fZWkUwCpnVHcuMz7ZLXID9qoOMJXesJa/LFQWteu0uxLFFEKLxPD92xHPz/LImW560A9iDw1KaRmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgcpP7LVJ9NkafjFqn1JOM7ZtcArDhGmpk4lEqj2E9fAiEA5rrJir8Sqxu3BAU0ggE6PlcuC2n+CQ/tS8cyO9/hyJA="}]}}},"readme":"# Lodash template for webpack\n\nLodash template loader for [webpack](http://webpack.github.io/). Uses `_.template` function to compile templates.\n\n## Installation\n\n`npm install tpl-loader`\n\n## Usage\n\n[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)\n\n``` javascript\nvar template = require(\"tpl!./file.html\");\n// => returns the template function compiled with undesrcore (lodash) templating engine.\n\n// And then use it somewhere in your code\ntemplate(data) // Pass object with data\n```\n\nYou can add `_.template` settings as a `tplSettings` property inside webpack config file to specify options for the loader, for example:\n\n``` javascript\n    ...\n    tplSettings: {\n        escape: /\\{\\{([^{].*?)\\}\\}/gm,\n        interpolate: /\\{\\{\\{(.+?)\\}\\}\\}/gm,\n        evaluate: /\\{\\%(.+?)\\%\\}/g\n    }\n    ...\n```\n\n## License\n\nMIT (http://www.opensource.org/licenses/mit-license.php)\n\n\n\n","maintainers":[{"name":"grassator","email":"dmitriy@kubyshkin.ru"}],"time":{"modified":"2022-06-27T19:24:43.582Z","created":"2014-12-15T14:55:07.529Z","0.1.0":"2014-12-15T14:55:07.529Z","0.1.1":"2014-12-15T15:02:44.095Z","0.2.0":"2014-12-15T15:49:50.878Z","0.2.1":"2014-12-15T16:57:01.397Z"},"homepage":"https://github.com/grassator/tpl-loader","keywords":["ejs","underscrore","lodash","_","webpack","loader","template"],"repository":{"type":"git","url":"https://github.com/grassator/tpl-loader.git"},"author":{"name":"Dmitriy Kubyshkin","email":"dmitriy@kubyshkin.ru"},"bugs":{"url":"https://github.com/grassator/tpl-loader/issues"},"license":"MIT","readmeFilename":"README.md","users":{}}