{"versions":{"0.0.1":{"name":"engines","version":"0.0.1","description":"Template engine library for Assemble, based on consolidate.js.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/assemble/engines/issues"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":"^0.7.7","dot":"^1.0.2","dust":"^0.3.0","dustjs-helpers":"^1.2.0","dustjs-linkedin":"^2.3.5","eco":"^1.1.0-rc-3","ect":"^0.5.9","ejs":"^1.0.0","haml-coffee":"^1.14.1","hamljs":"^0.6.2","handlebars":"^2.0.0-alpha.4","hogan.js":"^2.0.0","jade":"^1.3.1","jazz":"0.0.18","jqtpl":"1.1.0","just":"^0.1.8","liquor":"0.0.5","lodash":"^2.4.1","mocha":"^1.20.0","mote":"^0.2.0","mustache":"^0.8.1","nunjucks":"^1.0.5","qejs":"^3.0.5","ractive":"^0.4.0","should":"^4.0.0","swig":"^1.3.2","templayed":"^0.2.3","toffee":"^0.1.10","underscore":"^1.6.0","walrus":"^0.10.1","whiskers":"^0.3.3"},"scripts":{"test":"mocha"},"keywords":["compile","engine","process","render","template","templates","view"],"homepage":"https://github.com/assemble/engines","_id":"engines@0.0.1","_shasum":"ff116e10f1a15f43e8bc85c21819ea988debcb33","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"ff116e10f1a15f43e8bc85c21819ea988debcb33","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.0.1.tgz","size":9139,"integrity":"sha512-HV+9wmatiPHF2fsRNH0e8t3CCRc8E15AkCRgdKJX4DtoTNmS1nHzTr6+vQL0iqOYgXyG/oLZagqMgw7caKmOew=="},"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:30.757Z","contributors":[]},"0.2.0":{"name":"engines","version":"0.2.0","description":"Template engine library for Assemble, based on consolidate.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":">=0.7.6","dot":"1.0.1","dust":"0.3.0","dustjs-helpers":"1.1.1","dustjs-linkedin":"1.2","eco":"1.1.0-rc-3","ect":"0.3.5","ejs":"0.7.1","haml-coffee":"1.4.0","hamljs":"0.6.1","handlebars":"1.0.7","hogan.js":"2.0.0","jade":"0.26.0","jazz":"0.0.18","jqtpl":"1.1.0","just":"0.1.8","liquor":"0.0.4","lodash":"1.2.0","mocha":"*","mote":"0.2.0","mustache":"0.4.0","nunjucks":"~1.0.0","qejs":"3.0.5","ractive":"0.3.7","should":"*","swig":"0.12.0","templayed":">=0.2.3","toffee":"0.0.52","underscore":"1.3.3","walrus":"0.9.0","whiskers":"0.2.2"},"scripts":{"test":"mocha"},"keywords":["compile","engine","process","render","template","templates","view"],"author":"","dependencies":{"sync":"^0.2.2"},"homepage":"https://github.com/assemble/engines","_id":"engines@0.2.0","dist":{"shasum":"164611c338f26825ad5578011af31b730a27a933","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.2.0.tgz","size":9166,"integrity":"sha512-JiV3M6m1TXYxwbWUA7qqikLSwSVIWNOXL56aL4DtMoMt/oGxEPv2+rx8SQd9axbVB1ML1yCkEiGbObHay2qrYQ=="},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:31.649Z","contributors":[]},"0.3.0":{"name":"engines","version":"0.3.0","description":"Template engine library for Assemble, based on consolidate.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":">=0.7.6","dot":"1.0.1","dust":"0.3.0","dustjs-helpers":"1.1.1","dustjs-linkedin":"1.2","eco":"1.1.0-rc-3","ect":"0.3.5","ejs":"0.7.1","haml-coffee":"1.4.0","hamljs":"0.6.1","handlebars":"1.0.7","hogan.js":"2.0.0","jade":"0.26.0","jazz":"0.0.18","jqtpl":"1.1.0","just":"0.1.8","liquor":"0.0.4","lodash":"1.2.0","mocha":"*","mote":"0.2.0","mustache":"0.4.0","nunjucks":"~1.0.0","qejs":"3.0.5","ractive":"0.3.7","should":"*","swig":"0.12.0","templayed":">=0.2.3","toffee":"0.0.52","underscore":"1.3.3","walrus":"0.9.0","whiskers":"0.2.2"},"scripts":{"test":"mocha"},"keywords":["compile","engine","process","render","template","templates","view"],"author":"","dependencies":{"sync":"^0.2.2"},"homepage":"https://github.com/assemble/engines","_id":"engines@0.3.0","dist":{"shasum":"8aefee034178b8dbf65edf553e42a2daa37a291c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.3.0.tgz","size":9019,"integrity":"sha512-wWBEOu522Z9H5yU6KB+igNX90RhFUyLmv3eXL0URvEZDgXCsSA8OozchW/YNSIuBRSTPlSg//yrWE6++7dsPQw=="},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:32.518Z","contributors":[]},"0.3.1":{"name":"engines","version":"0.3.1","description":"Template engine library for Assemble, based on consolidate.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":">=0.7.6","dot":"1.0.1","dust":"0.3.0","dustjs-helpers":"1.1.1","dustjs-linkedin":"1.2","eco":"1.1.0-rc-3","ect":"0.3.5","ejs":"0.7.1","haml-coffee":"1.4.0","hamljs":"0.6.1","handlebars":"1.0.7","hogan.js":"2.0.0","jade":"0.26.0","jazz":"0.0.18","jqtpl":"1.1.0","just":"0.1.8","liquor":"0.0.4","lodash":"1.2.0","mocha":"*","mote":"0.2.0","mustache":"0.4.0","nunjucks":"~1.0.0","qejs":"3.0.5","ractive":"0.3.7","should":"*","swig":"0.12.0","templayed":">=0.2.3","toffee":"0.0.52","underscore":"1.3.3","walrus":"0.9.0","whiskers":"0.2.2"},"scripts":{"test":"mocha"},"keywords":["compile","engine","process","render","template","templates","view"],"author":"","homepage":"https://github.com/assemble/engines","_id":"engines@0.3.1","dist":{"shasum":"0a724423f80f5447e26e71654af56519f15777ee","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.3.1.tgz","size":9009,"integrity":"sha512-EhefIW9MtC58lmHMitvYfdylgzUa0ZAAb4eWmnEajo8rTRmyVRHElOLiZvZglmYAabq2MSoDz1aq+1G6RTf6Rw=="},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:33.373Z","contributors":[]},"0.3.2":{"name":"engines","version":"0.3.2","description":"Template engine library for Assemble, based on consolidate.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"bugs":{"url":"https://github.com/assemble/engines/issues"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":">=0.7.6","dot":"1.0.1","dust":"0.3.0","dustjs-helpers":"1.1.1","dustjs-linkedin":"1.2","eco":"1.1.0-rc-3","ect":"0.3.5","ejs":"0.7.1","haml-coffee":"1.4.0","hamljs":"0.6.1","handlebars":"1.0.7","hogan.js":"2.0.0","jade":"0.26.0","jazz":"0.0.18","jqtpl":"1.1.0","just":"0.1.8","liquor":"0.0.4","lodash":"1.2.0","mocha":"*","mote":"0.2.0","mustache":"0.4.0","nunjucks":"~1.0.0","qejs":"3.0.5","ractive":"0.3.7","should":"*","swig":"0.12.0","templayed":">=0.2.3","toffee":"0.0.52","underscore":"1.3.3","walrus":"0.9.0","whiskers":"0.2.2"},"scripts":{"test":"mocha"},"keywords":["compile","engine","process","render","template","templates","view"],"homepage":"https://github.com/assemble/engines","_id":"engines@0.3.2","_shasum":"52dcb68feb3a9a76b8d2c68f52633c9eac9391d2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"dist":{"shasum":"52dcb68feb3a9a76b8d2c68f52633c9eac9391d2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.3.2.tgz","size":9338,"integrity":"sha512-aNpx4PdaXrauZuKzOtoUegWM9RJNBvc4bbcCQThFL1tfvJaKujeue1HDuK1wHji4jygvxxGO0j2oAsCRZBKVlQ=="},"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:34.251Z","contributors":[]},"0.3.3":{"name":"engines","version":"0.3.3","description":"Template engine library with fast, synchronous rendering, based on consolidate.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"bugs":{"url":"https://github.com/assemble/engines/issues"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":">=0.7.6","dot":"1.0.1","dust":"0.3.0","dustjs-helpers":"1.1.1","dustjs-linkedin":"1.2","eco":"1.1.0-rc-3","ect":"0.3.5","ejs":"0.7.1","haml-coffee":"1.4.0","hamljs":"0.6.1","handlebars":"1.0.7","hogan.js":"2.0.0","jade":"0.26.0","jazz":"0.0.18","jqtpl":"1.1.0","just":"0.1.8","liquor":"0.0.4","lodash":"1.2.0","mocha":"*","mote":"0.2.0","mustache":"0.4.0","nunjucks":"~1.0.0","qejs":"3.0.5","ractive":"0.3.7","should":"*","swig":"0.12.0","templayed":">=0.2.3","toffee":"0.0.52","underscore":"1.3.3","walrus":"0.9.0","whiskers":"0.2.2"},"scripts":{"test":"mocha"},"keywords":["assemble","atpl","cache","compile","consolidate","content","data","delimiters","delims","docs","documentation","dot","dust","dustjs-helpers","dustjs-linkedin","eco","ect","ejs","engine","engines","express","front","generate","generator","gray-matter","haml-coffee","hamljs","handlebars","hogan.js","jade","jazz","jqtpl","liquor","lo-dash","lodash","markdown","matter","mocha","mote","mustache","noop","nunjucks","parse","parser","parsers","pass-through","process","qejs","ractive","render","should","swig","template","templates","templayed","toffee","underscore","verb","view","walrus","whiskers","yaml"],"homepage":"https://github.com/assemble/engines","_id":"engines@0.3.3","_shasum":"0080b55244834d788bc3fc5c61401c59b473946d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"dist":{"shasum":"0080b55244834d788bc3fc5c61401c59b473946d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.3.3.tgz","size":9218,"integrity":"sha512-9HX5zLpsaQnUetdJeKwe/SkDolnPZm14/SDZmMB6Q6U1xtydquO3vHZCOBbiNwaZB8ayYha/1gST64ze9BuDtA=="},"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:35.125Z","contributors":[]},"0.4.0":{"name":"engines","version":"0.4.0","description":"Template engine library with fast, synchronous rendering, based on consolidate.","repository":{"type":"git","url":"https://github.com/assemble/engines.git"},"bugs":{"url":"https://github.com/assemble/engines/issues"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"},{"name":"anonymous","email":"brian.woodward@gmail.com"}],"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","devDependencies":{"atpl":">=0.7.6","dot":"1.0.1","dust":"0.3.0","dustjs-helpers":"1.1.1","dustjs-linkedin":"1.2","eco":"1.1.0-rc-3","ect":"0.3.5","ejs":"0.7.1","haml-coffee":"1.4.0","hamljs":"0.6.1","handlebars":"1.0.7","hogan.js":"2.0.0","jade":"0.26.0","jazz":"0.0.18","jqtpl":"1.1.0","just":"0.1.8","liquor":"0.0.4","lodash":"1.2.0","mocha":"*","mote":"0.2.0","mustache":"0.4.0","nunjucks":"~1.0.0","qejs":"3.0.5","ractive":"0.3.7","should":"*","swig":"0.12.0","templayed":">=0.2.3","toffee":"0.0.52","underscore":"1.3.3","walrus":"0.9.0","whiskers":"0.2.2"},"scripts":{"test":"mocha"},"keywords":["assemble","atpl","cache","compile","consolidate","content","data","delimiters","delims","docs","documentation","dot","dust","dustjs-helpers","dustjs-linkedin","eco","ect","ejs","engine","engines","express","front","generate","generator","gray-matter","haml-coffee","hamljs","handlebars","hogan.js","jade","jazz","jqtpl","liquor","lo-dash","lodash","markdown","matter","mocha","mote","mustache","noop","nunjucks","parse","parser","parsers","pass-through","process","qejs","ractive","render","should","swig","template","templates","templayed","toffee","underscore","verb","view","walrus","whiskers","yaml"],"homepage":"https://github.com/assemble/engines","_id":"engines@0.4.0","_shasum":"aefd16e99762ea4f809c5c3aeac4c5b22f068a8c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"dist":{"shasum":"aefd16e99762ea4f809c5c3aeac4c5b22f068a8c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/engines/-/engines-0.4.0.tgz","size":9360,"integrity":"sha512-klSpn8s2XTN6NYIFS9wv71F8wu2IItRWcNY5zf/lAqr2waJNBXMIAPqRBQhwXOfrVttbYz4NgFI971bbXewPVw=="},"directories":{},"_cnpmcore_publish_time":"2021-12-23T09:50:35.222Z","contributors":[]}},"dist-tags":{"latest":"0.4.0"},"name":"engines","time":{"created":"2022-01-27T01:56:41.213Z","modified":"2022-01-27T01:56:41.213Z","0.0.1":"2014-05-30T02:55:49.986Z","0.2.0":"2014-06-23T16:51:13.786Z","0.3.0":"2014-06-23T18:04:36.180Z","0.3.1":"2014-06-23T18:06:08.126Z","0.3.2":"2014-08-17T19:16:27.395Z","0.3.3":"2014-09-02T03:57:57.507Z","0.4.0":"2014-10-03T19:13:10.218Z"},"readme":"# engines\n\n> Template engine library with fast, synchronous rendering, based on consolidate.\n\n## Installation\n\n```bash\n$ npm install engines\n```\n\n## Supported template engines\n\nEngines with strikethroughs are not yet supported or need to be updated. Pull requests to update them are welcome.\n\n- ~~[atpl](https://github.com/soywiz/atpl.js)~~\n- ~~[dust](https://github.com/akdubya/dustjs) [(website)](http://akdubya.github.com/dustjs/)~~\n- [eco](https://github.com/sstephenson/eco)\n- [ect](https://github.com/baryshev/ect) [(website)](http://ectjs.com/)\n- [ejs](https://github.com/visionmedia/ejs)\n- [haml](https://github.com/visionmedia/haml.js) [(website)](http://haml-lang.com/)\n- [haml-coffee](https://github.com/netzpirat/haml-coffee/) [(website)](http://haml-coffee-online.herokuapp.com//)\n- [handlebars](https://github.com/wycats/handlebars.js/) [(website)](http://handlebarsjs.com/)\n- [hogan](https://github.com/twitter/hogan.js) [(website)](http://twitter.github.com/hogan.js/)\n- [jade](https://github.com/visionmedia/jade) [(website)](http://jade-lang.com/)\n- [jazz](https://github.com/shinetech/jazz)\n- [jqtpl](https://github.com/kof/node-jqtpl) [(website)](http://api.jquery.com/category/plugins/templates/)\n- ~~[JUST](https://github.com/baryshev/just)~~\n- [liquor](https://github.com/chjj/liquor)\n- [lodash](https://github.com/bestiejs/lodash) [(website)](http://lodash.com/)\n- [mustache](https://github.com/janl/mustache.js)\n- ~~[QEJS](https://github.com/jepso/QEJS)~~\n- [ractive](https://github.com/Rich-Harris/Ractive)\n- [swig](https://github.com/paularmstrong/swig) [(website)](http://paularmstrong.github.com/swig/)\n- [templayed](http://archan937.github.com/templayed.js/)\n- [toffee](https://github.com/malgorithms/toffee)\n- [underscore](https://github.com/documentcloud/underscore) [(website)](http://documentcloud.github.com/underscore/)\n- [walrus](https://github.com/jeremyruppel/walrus) [(website)](http://documentup.com/jeremyruppel/walrus/)\n- [whiskers](https://github.com/gsf/whiskers.js)\n\n__NOTE__: you must still install the engines you wish to use, add them to your package.json dependencies.\n\n## API\n\nAll templates supported by this library may be rendered using the signature `(path[, context], callback)` as shown below, which is the same signature that Assemble and express support, so any of these engines may be used within Assemble or express.\n\n__NOTE__: All of the examples use `engines.handlebars` for the [Handlebars](handlebarsjs.com) template engine. Replace handlebars with whatever template engine you prefer. For example, use `engines.hogan` for hogan.js, `engines.jade` for jade, etc.\n\nRun `console.log(engines)` for the full list of identifiers.\n\nExamples:\n\n```js\nvar engines = require('engines');\nengines.handlebars('templates/about.hbs', { title: 'About Us' }, function(err, html) {\n  if (err) { throw err; }\n  console.log(html);\n});\n```\n\nOr without options / local variables:\n\n```js\nvar engines = require('engines');\nengines.handlebars('templates/about.hbs', function(err, html) {\n  if (err) { throw err; }\n  console.log(html);\n});\n```\n\nTo dynamically pass the engine, use the subscript operator and a variable:\n\n```js\nvar engines = require('engines');\nvar name = 'handlebars';\n\nengines[name]('templates/about.hbs', { title: 'About Us' }, function(err, html) {\n  if (err) { throw err; }\n  console.log(html);\n});\n```\n\n## Caching\n\nTo enable caching pass `{ cache: true }`. Engines _may_ use this option to cache things reading the file contents, like compiled `Function`s etc. Engines which do _not_ support this may simply ignore it. All engines that **engines** implements I/O for will cache the file contents, as this is ideal for production environments.\n\n```js\nvar engines = require('engines');\nengines.handlebars('templates/about.hbs', { title: 'About Us' }, function(err, html) {\n  if (err) { throw err; }\n  console.log(html);\n});\n```\n\n## Assemble v0.6.x example\n\nRun `npm install assemble/assemble#v0.6.0`, then in your `assemblefile.js`, add the following:\n\n```js\nvar assemble = require('assemble');\nvar engines = require('..');\n\nassemble.engine('hbs', engines.handlebars);\n\nassemble.task('default', function() {\n  assemble.src('docs/*.hbs')\n    .pipe(assemble.dest('dist'));\n});\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```bash\nnpm install -d && mocha\n```\n\n## License\n\nCopyright (c) 2014 Jon Schlinkert, contributors.\nCopyright (c) 2011 TJ Holowaychuk &lt;tj@vision-media.ca&gt;\n\nReleased under the [MIT license](./LICENSE-MIT).","users":{}}