{"_id":"engine-assemble","_rev":"17-aa7b9fbfaaf55761aac3828dac51f857","name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.0":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.1.0","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.2.0","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"dependencies":{"engine-handlebars":"^0.3.0","handlebars-helpers":"doowb/handlebars-helpers#v0.7.0","lodash":"^2.4.1"},"gitHead":"9494c0962f9e73a6d44502dadd148b6339c76a96","_id":"engine-assemble@0.1.0","_shasum":"fe116da3364c120cc567d7a3a2484e5869f1949d","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"fe116da3364c120cc567d7a3a2484e5869f1949d","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.1.0.tgz","integrity":"sha512-clIaIXM9d9sCnKOYLlJWFjXSLtZ5UmIb7Qo8eAYWP3XOXnpUgqTgb0FXIU0fMEnw6DVZSlAEbF4/rjI16V988A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2tsfFPQIvkyFpMgxaIaq9YafAR2c89r53fY/wnypD/AiEA24kDmPeAQ7ZLZbcUUJ0CqEsZTUoB+BrE9MoQl3x6v0c="}]}},"0.2.0":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.2.0","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.2.0"},"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"dependencies":{"engine-handlebars":"^0.4.0","handlebars-helpers":"doowb/handlebars-helpers#v0.7.0","lodash":"^2.4.1"},"gitHead":"a830c2daa2b25c38b3a0d7dca1e26a036f8036fe","_id":"engine-assemble@0.2.0","_shasum":"cf079ff3582c6d3006dc30dddeab0e7759280dc3","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cf079ff3582c6d3006dc30dddeab0e7759280dc3","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.2.0.tgz","integrity":"sha512-tketF6WVAXYtZFICQlJ2HQAFa1ejnkIqrtjLWAoNaRPoycSHvvrPmrUCWMO0/e/g+97kwKtwtCNtJkAAnMhbZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDV4ktMKW5zRgRkZLNeKgfOChmqvHpttmcJ5eGaeW/8QIhAP+xKZsqd/7lRzve9woZxHmu9pC8uXS6xeplRS8sFtKt"}]}},"0.2.1":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.","version":"0.2.1","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"license":{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"engine-handlebars":"^0.4.0","handlebars-helpers":"doowb/handlebars-helpers#v0.7.0","lodash":"^2.4.1"},"devDependencies":{"mocha":"*","should":"^4.2.0"},"keywords":["assemble","assembleengine","compile","compiler","consolidate","engine","express","file","process","read","render","renderer","templateengine","templates","verbengine"],"gitHead":"82c812682aa37b7dfc2d56c6d2c1e240fad19eba","_id":"engine-assemble@0.2.1","_shasum":"c3175904c6c062d619e11ea79f2b0207db112ea9","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c3175904c6c062d619e11ea79f2b0207db112ea9","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.2.1.tgz","integrity":"sha512-dqECepRNp+k+5jdoKymemqXBY6ttdUcn4ZgcdwrPgEISFCQ1+KXMRsAvKJae9CFeTbAmyK4Ix27xtktJZBOcMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWIpX0/nxOL1hPZ6ZFoe6i83J/Kddkua328SteMSieRAiEAjl37sjZeBS1/kuTXFG76TwcG37kNuXiErWclpGSGl+M="}]}},"0.2.2":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.","version":"0.2.2","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"license":{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"engine-handlebars":"^0.4.0","handlebars-helpers":"assemble/handlebars-helpers#v0.6.0","lodash":"^2.4.1"},"devDependencies":{"mocha":"*","should":"^4.2.0"},"keywords":["assemble","assembleengine","compile","compiler","consolidate","engine","express","file","process","read","render","renderer","templateengine","templates","verbengine"],"gitHead":"6627381a2447277548e3662ebb337c555bda5a4c","_id":"engine-assemble@0.2.2","_shasum":"4b5ff2bf3ed582c27fe1e08e283cc238c54b8110","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4b5ff2bf3ed582c27fe1e08e283cc238c54b8110","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.2.2.tgz","integrity":"sha512-9Gf16eGX7tUbsOP6T5mndwqQoGPfKXAEVEF3iU8tCEYaGkLhwwI4LzBnE3bxa3lJRl/d6JSCTpdI/otF+uVAsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDN5rwmxlHPykIpzUK10hYpdKBaohU4659BUgBoE2sZIAiARUel4p848EVH07qKzI4a6n0RMk40TGwD0r6pdyEkBLg=="}]}},"0.3.0":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.","version":"0.3.0","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE"}],"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-handlebars":"^0.6.0","handlebars-helpers":"git+https://github.com/assemble/handlebars-helpers#v0.6.0","lodash":"^2.4.1"},"devDependencies":{"mocha":"*"},"keywords":["assemble","assembleengine","compile","compiler","consolidate","engine","express","file","process","read","render","renderer","templateengine","templates","verbengine"],"gitHead":"7ac7b4deec8007d4676796d94f5d9cfe46d2d569","_id":"engine-assemble@0.3.0","_shasum":"34e91839b64e98d4f0df65d4e0b9fe171f3838cf","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.29","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"34e91839b64e98d4f0df65d4e0b9fe171f3838cf","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.3.0.tgz","integrity":"sha512-Ca0GX8jFwqztkIRw+GyP/FEbymU3HNGsLySnqKkMZSflwxQNuvgTxGAnbU7mBPTbGA/yps3sm487EhWVydAa/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsPzmpr8AeEBu5RcpOatNxO/qepit8EdxqomcXgx2RYgIgZcMFwqxArFErxoVUx0rysyZkk9QjAXafgMalA4p7QLA="}]}},"0.4.0":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.","version":"0.4.0","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"license":{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-handlebars":"^0.6.1","handlebars-helpers":"git+https://github.com/doowb/handlebars-helpers#v0.7.0","lodash":"^3.5.0"},"devDependencies":{"mocha":"*","should":"^4.2.0"},"keywords":["assemble","assembleengine","compile","compiler","consolidate","engine","express","file","process","read","render","renderer","templateengine","templates","verbengine"],"gitHead":"510fa8b340359447a282547032208521cf7b2de0","_id":"engine-assemble@0.4.0","_shasum":"a3b6f6d61a15e3671250dcec51b475c5d59e79b8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a3b6f6d61a15e3671250dcec51b475c5d59e79b8","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.4.0.tgz","integrity":"sha512-aljykJU6nGk6UHrE14Dz7R8r2MVFRGLTQPMv9sd+mlkP/tEjO3Ypdg/l+CRzawb5v5ABHdBUqdxi1fF+FuxdRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbt0F9UUpNbDlX1IjZRgZG/BIxhIDH/oeE9nOu2o9eNwIgVrSc9Dyam+SyPhwtAKt9D43C3EJLeGpCDhlA6FzKuk4="}]}},"0.4.1":{"name":"engine-assemble","description":"Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.","version":"0.4.1","homepage":"https://github.com/doowb/engine-assemble","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"license":{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-handlebars":"^0.6.1","handlebars-helpers":"git+https://github.com/assemble/handlebars-helpers#v0.6.0","lodash":"^3.5.0"},"devDependencies":{"mocha":"*"},"keywords":["assemble","assembleengine","compile","compiler","consolidate","engine","express","file","process","read","render","renderer","templateengine","templates","verbengine"],"gitHead":"38e030b5b06e8776e48e700992414e0f8a71dd91","_id":"engine-assemble@0.4.1","_shasum":"ad6fd59659e35ca9698cce615c021d1c2973ef34","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ad6fd59659e35ca9698cce615c021d1c2973ef34","tarball":"https://registry.npmjs.org/engine-assemble/-/engine-assemble-0.4.1.tgz","integrity":"sha512-5aAo1qI1/wCkEfkHFA6l1BKo8MimL8O8am3qzmtCi0JQcRB8aaC/R93QLm3WU7Fm1nGInv1HnSd07TZak1XPwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf1TaAGjfBwiVgy0PPqNQX0RVJ+48KDPUq3JtnP4W2ewIgKlMXdHZHjFMLwqxPdB6R4YpIemPXz848vcdbxvxHgsg="}]}}},"readme":"# engine-assemble [![NPM version](https://badge.fury.io/js/engine-assemble.svg)](http://badge.fury.io/js/engine-assemble)  [![Build Status](https://travis-ci.org/doowb/engine-assemble.svg)](https://travis-ci.org/doowb/engine-assemble) \n\n> Handlebars engine, consolidate.js style but with enhancements and default helpers. Should work with Assemble, Verb, express.js, engine-cache or any application that supports consolidate.js conventions.\n\nWrapper around [engine-handlebars] and [handlebars-helpers] to provide a default template engine for [Assemble].\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i engine-assemble --save\n```\n\n## Usage\n\n```js\nvar engine = require('engine-assemble');\n```\n\n## API\n### [.compile](./index.js#L51)\n\nHandlebars compile support. Compile the given `str`, register helpers and partials from settings and return a function.\n\n* `str` **{String}**    \n* `settings` **{Object}**: object containing optional helpers and partials    \n* `returns` **{Function}**: Compiled template function  \n\n```js\nvar engine = require('engine-assemble');\nvar fn = engine.compile('{{name}}', {});\n```\n\n### [.render](./index.js#L76)\n\nHandlebars string support. Render the given `str` and invoke the callback `cb(err, str)`.\n\n* `str` **{String}**    \n* `options` **{Object|Function}**: or callback.    \n* `cb` **{Function}**: callback function.    \n\n```js\nvar engine = require('engine-assemble');\nengine.render('{{name}}', {name: 'Jon'}, function (err, content) {\n  console.log(content); //=> 'Jon'\n});\n```\n\n### [.renderSync](./index.js#L99)\n\nHandlebars sync support. Synchronously render Handlebars templates.\n\n* `str` **{Object}**: The string to render.    \n* `options` **{Object}**: Object of options.    \n* `returns` **{String}**: Rendered string.  \n\n```js\nvar engine = require('engine-assemble');\nengine.renderSync('<%= name %>', {name: 'Jon'});\n//=> 'Jon'\n```\n\n### [.renderFile](./index.js#L121)\n\nHandlebars file support. Render a file at the given `filepath` and callback `cb(err, str)`.\n\n* `filepath` **{String}**    \n* `options` **{Object|Function}**: or callback function.    \n* `cb` **{Function}**: callback function    \n\n```js\nvar engine = require('engine-assemble');\nengine.renderSync('foo/bar/baz.tmpl', {name: 'Jon'});\n//=> 'Jon'\n```\n\n\n## Author\n\n**Brian Woodward**\n \n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb) \n\n## License\nCopyright (c) 2015 Brian Woodward  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 12, 2015._\n\n[delims]: https://github.com/jonschlinkert/delims \"template delimiters\"\n[engine-handlebars]: https://github.com/jonschlinkert/engine-handlebars\n[handlebars-helpers]: https://github.com/assemble/handlebars-helpers\n[Assemble]: http://assemble.io","maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-17T05:22:13.422Z","created":"2014-11-10T19:07:47.080Z","0.1.0":"2014-11-10T19:07:47.080Z","0.2.0":"2014-11-25T22:08:28.086Z","0.2.1":"2014-12-12T14:49:36.460Z","0.2.2":"2014-12-15T17:05:25.371Z","0.3.0":"2015-02-20T20:24:25.157Z","0.4.0":"2015-03-13T01:25:25.577Z","0.4.1":"2015-03-13T02:43:44.105Z"},"homepage":"https://github.com/doowb/engine-assemble","keywords":["assemble","assembleengine","compile","compiler","consolidate","engine","express","file","process","read","render","renderer","templateengine","templates","verbengine"],"repository":{"type":"git","url":"git://github.com/doowb/engine-assemble.git"},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"bugs":{"url":"https://github.com/doowb/engine-assemble/issues"},"readmeFilename":"README.md","license":{"type":"MIT","url":"https://github.com/doowb/engine-assemble/blob/master/LICENSE"}}