{"_id":"engine-handlebars","_rev":"74067","name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:24:09.000Z","created":"2014-09-06T09:44:45.506Z","1.1.0":"2020-08-12T09:09:45.095Z","1.0.0":"2018-11-11T09:32:37.801Z","0.8.2":"2017-02-21T22:30:55.687Z","0.8.1":"2017-02-21T21:24:15.630Z","0.8.0":"2015-09-18T13:35:51.493Z","0.7.0":"2015-09-18T11:30:05.191Z","0.6.1":"2015-02-20T03:31:41.213Z","0.6.0":"2015-02-20T03:09:33.224Z","0.5.0":"2015-02-19T00:45:03.174Z","0.4.1":"2015-02-03T00:02:15.548Z","0.4.0":"2014-11-21T07:29:23.062Z","0.3.0":"2014-10-24T06:05:18.908Z","0.2.0":"2014-09-06T09:44:45.506Z"},"users":{"fgribreau":true,"hehaiyang":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"versions":{"1.1.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT","main":"index.js","engines":{"node":">=8"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^6.0.3"},"devDependencies":{"gulp-format-md":"^2.0.0","handlebars":"^4.7.6","mocha":"^8.1.1"},"keywords":["assemble","compile","consolidate","engine","express","handlebars","hbs","helper","partial","process","render","template","templates"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble","handlebars-helpers","template-helpers","templates"]},"lint":{"reflinks":true}},"gitHead":"1a6109c5b303275bd988688f194245f2fbe54cd6","_id":"engine-handlebars@1.1.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.7","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"87bc09b548837c6b5f4054e2d05d6f305967e13f","size":4782,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-1.1.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/engine-handlebars_1.1.0_1597223384941_0.3701230325415723"},"_hasShrinkwrap":false,"publish_time":1597223385095,"_cnpm_publish_time":1597223385095},"1.0.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT","main":"index.js","engines":{"node":">=8"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","handlebars":"^4.0.12","mocha":"^5.2.0"},"keywords":["assemble","compile","consolidate","engine","express","handlebars","hbs","helper","partial","process","render","template","templates"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble","handlebars-helpers","template-helpers","templates"]},"lint":{"reflinks":true}},"gitHead":"19266068ef2b07e14609c5b05f29b60555b0119f","_id":"engine-handlebars@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"a1026d3ce0508eff719ee4e298ac12c219dcee57","size":4593,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-1.0.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/engine-handlebars_1.0.0_1541928757633_0.5078067167658289"},"_hasShrinkwrap":false,"publish_time":1541928757801,"_cnpm_publish_time":1541928757801},"0.8.2":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.8.2","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4.7"},"scripts":{"test":"mocha"},"dependencies":{"engine-utils":"^0.1.1","extend-shallow":"^2.0.1","handlebars":"^4.0.6"},"devDependencies":{"engine-cache":"^0.19.4","gulp":"github:gulpjs/gulp#4.0","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.11","gulp-istanbul":"^1.1.1","gulp-mocha":"^3.0.1","mocha":"^3.2.0","vinyl":"^2.0.1"},"keywords":["assemble","compile","consolidate","engine","express","handlebars","hbs","helper","partial","process","render","template","templates"],"verb":{"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble","handlebars-helpers","helper-cache","template-helpers","templates"]},"lint":{"reflinks":true}},"gitHead":"bba21d36913bb68591c6a73ef6197f882d5fe7b1","_id":"engine-handlebars@0.8.2","_shasum":"aa709d86949d35331a15d650023d9cbe4215a9f9","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"aa709d86949d35331a15d650023d9cbe4215a9f9","size":5283,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.8.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/engine-handlebars-0.8.2.tgz_1487716253728_0.6829667191486806"},"directories":{},"publish_time":1487716255687,"_cnpm_publish_time":1487716255687,"_hasShrinkwrap":false},"0.8.1":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.8.1","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4.7"},"scripts":{"test":"mocha"},"dependencies":{"engine-utils":"^0.1.1","extend-shallow":"^2.0.1","handlebars":"^4.0.6"},"devDependencies":{"engine-cache":"^0.19.4","gulp":"github:gulpjs/gulp#4.0","gulp-eslint":"^3.0.1","gulp-istanbul":"^1.1.1","gulp-mocha":"^3.0.1","mocha":"^3.2.0","vinyl":"^2.0.1"},"keywords":["assemble","compile","consolidate","engine","express","handlebars","hbs","helper","partial","process","render","template","templates"],"verb":{"related":{"list":["assemble","handlebars-helpers","helper-cache","template-helpers","templates"]}},"gitHead":"ae5069b1af8f97c43822e989a179f4505453ad84","_id":"engine-handlebars@0.8.1","_shasum":"dbb9d8f8cc671bf641316d9cc41bd3a2aca001a2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"dbb9d8f8cc671bf641316d9cc41bd3a2aca001a2","size":4701,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.8.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/engine-handlebars-0.8.1.tgz_1487712253800_0.6395529985893518"},"directories":{},"publish_time":1487712255630,"_cnpm_publish_time":1487712255630,"_hasShrinkwrap":false},"0.8.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.8.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-utils":"^0.1.0","extend-shallow":"^2.0.1","handlebars":"^4.0.2"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*","vinyl":"^0.5.3"},"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"verb":{"related":{"list":["template-helpers","handlebars-helpers","assemble","templates","helper-cache"]}},"gitHead":"1ecab6a8ecb97690bf749cc65c11f3ad45b2105d","_id":"engine-handlebars@0.8.0","_shasum":"1361f33a44ea06653424c8eabbaefa280f7e3ebd","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1361f33a44ea06653424c8eabbaefa280f7e3ebd","size":3941,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.8.0.tgz"},"directories":{},"publish_time":1442583351493,"_cnpm_publish_time":1442583351493,"_hasShrinkwrap":false},"0.7.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.7.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^4.0.2"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"verb":{"related":{"list":["template-helpers","handlebars-helpers","assemble","templates","helper-cache"]}},"gitHead":"153b9e099358500b258e2a1b61ccea5ca99a9833","_id":"engine-handlebars@0.7.0","_shasum":"173a40372a9471ae15085aa52a4402195dddda94","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"173a40372a9471ae15085aa52a4402195dddda94","size":3254,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.7.0.tgz"},"directories":{},"publish_time":1442575805191,"_cnpm_publish_time":1442575805191,"_hasShrinkwrap":false},"0.6.1":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.6.1","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE"}],"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^3.0.0"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"gitHead":"153b9e099358500b258e2a1b61ccea5ca99a9833","_id":"engine-handlebars@0.6.1","_shasum":"8a798e2ce9503bc7536a7aa4df973d826d047fec","_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":"8a798e2ce9503bc7536a7aa4df973d826d047fec","size":2716,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.6.1.tgz"},"directories":{},"publish_time":1424403101213,"_cnpm_publish_time":1424403101213,"_hasShrinkwrap":false},"0.6.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.6.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE"}],"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^3.0.0"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"gitHead":"caa4abf08748eb4a46e82f59e3112a3f197bcced","_id":"engine-handlebars@0.6.0","_shasum":"330ca211aa65834506c0b9f6e670dc300fb71918","_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":"330ca211aa65834506c0b9f6e670dc300fb71918","size":2729,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.6.0.tgz"},"directories":{},"publish_time":1424401773224,"_cnpm_publish_time":1424401773224,"_hasShrinkwrap":false},"0.5.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^3.0.0"},"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"gitHead":"a2fcbe204dc9838b8cbe9a3bfe47986ad5cea0b2","_id":"engine-handlebars@0.5.0","_shasum":"45790b4b4c7eaefb18f38ca4e72f2a7f5fc2c5bd","_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":"45790b4b4c7eaefb18f38ca4e72f2a7f5fc2c5bd","size":2665,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.5.0.tgz"},"directories":{},"publish_time":1424306703174,"_cnpm_publish_time":1424306703174,"_hasShrinkwrap":false},"0.4.1":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^2.0.0"},"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"gitHead":"630ea896bec46f18a39dc6f0f61a793fea36563b","_id":"engine-handlebars@0.4.1","_shasum":"ddc918a9202f8e16b637f5706c35b6eff4168922","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ddc918a9202f8e16b637f5706c35b6eff4168922","size":2043,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.4.1.tgz"},"directories":{},"publish_time":1422921735548,"_cnpm_publish_time":1422921735548,"_hasShrinkwrap":false},"0.4.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE-MIT"}],"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^2.0.0"},"_id":"engine-handlebars@0.4.0","_shasum":"f865f06a7f070aa865a80b3334995e7ff59a337e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f865f06a7f070aa865a80b3334995e7ff59a337e","size":4074,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.4.0.tgz"},"directories":{},"publish_time":1416554963062,"_cnpm_publish_time":1416554963062,"_hasShrinkwrap":false},"0.3.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE-MIT"}],"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":"^0.2.1"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^2.0.0"},"_id":"engine-handlebars@0.3.0","_shasum":"6aa320301ef1bebe60e1944b5743c24ec24364a6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6aa320301ef1bebe60e1944b5743c24ec24364a6","size":4096,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.3.0.tgz"},"directories":{},"publish_time":1414130718908,"_cnpm_publish_time":1414130718908,"_hasShrinkwrap":false},"0.2.0":{"name":"engine-handlebars","description":"Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/engine-handlebars","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/engine-handlebars.git"},"bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/engine-handlebars/blob/master/LICENSE-MIT"}],"keywords":["engine","consolidate","express","assemble","handlebars","hbs","helper","partial","templates","template","compile","render","process"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":"^0.2.1"},"dependencies":{"engine-utils":"^0.1.0","handlebars":"^2.0.0"},"_id":"engine-handlebars@0.2.0","_shasum":"7554e54689328662d05a9662eace00e45e23fad1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"7554e54689328662d05a9662eace00e45e23fad1","size":4136,"noattachment":false,"key":"/engine-handlebars/-/engine-handlebars-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/engine-handlebars/download/engine-handlebars-0.2.0.tgz"},"directories":{},"publish_time":1409996685506,"_cnpm_publish_time":1409996685506,"_hasShrinkwrap":false}},"readme":"# engine-handlebars [![NPM version](https://img.shields.io/npm/v/engine-handlebars.svg?style=flat)](https://www.npmjs.com/package/engine-handlebars) [![NPM monthly downloads](https://img.shields.io/npm/dm/engine-handlebars.svg?style=flat)](https://npmjs.org/package/engine-handlebars) [![NPM total downloads](https://img.shields.io/npm/dt/engine-handlebars.svg?style=flat)](https://npmjs.org/package/engine-handlebars) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/engine-handlebars.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/engine-handlebars)\n\n> Handlebars engine, consolidate.js style but with enhancements. This works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save engine-handlebars\n```\n\n## Heads up!\n\nThere were major [breaking changes in v1.0!](#release-history).\n\n## Usage\n\n```js\nconst handlebars = require('handlebars');\nconst engine = require('engine-handlebars')(handlebars);\nconsole.log(engine);\n```\n\nThe `engine` object that is returned has the following properties:\n\n* `name` - the name of the engine: `handlebars`, used for engine detection in other libraries.\n* `instance` - your instance of handlebars\n* `compile` - async compile method\n* `compileSync` - sync compile method\n* `render` -  async render method\n* `renderSync` - sync render method\n\n## API\n\n### [.compile](index.js#L49)\n\nCompile `file.contents` with `handlebars.compile()`. Adds a compiled `.fn()` property to the given `file`.\n\n**Params**\n\n* `file` **{Object}**: File object with `contents` string or buffer.\n* `options` **{Object}**: Options with partials and helpers.\n* `returns` **{Promise}**\n\n**Example**\n\n```js\nengine.compile({ contents: 'Jon {{ name }}' })\n  .then(file => {\n    console.log(typeof file.fn) // 'function'\n  });\n```\n\n### [.render](index.js#L70)\n\nRender `file.contents` with the function returned from `.compile()`.\n\n**Params**\n\n* `file` **{Object}**: File object with `contents` string or buffer.\n* `locals` **{Object}**: Locals to use as contents to render the string.\n* `options` **{Object}**: Options with partials and helpers.\n* `returns` **{Promise}**\n\n**Example**\n\n```js\nengine.render({ contents: 'Jon {{ name }}' }, { name: 'Schlinkert' })\n  .then(file => {\n    console.log(file.contents.toString()) // 'Jon Schlinkert'\n  });\n```\n\n### [.compileSync](index.js#L116)\n\nCompile `file.contents` with `handlebars.compile()`. Adds a compiled `.fn()` property to the given `file`.\n\n**Params**\n\n* `file` **{Object}**: File object with `contents` string or buffer.\n* `options` **{Object}**: Options with partials and helpers.\n* `returns` **{Object}**: Returns the file object.\n\n**Example**\n\n```js\nlet file = engine.compileSync({ contents: 'Jon {{ name }}' });\nconsole.log(typeof file.fn) // 'function'\n```\n\n### [.renderSync](index.js#L146)\n\nRender `file.contents` with the function returned from `.compile()`.\n\n**Params**\n\n* `file` **{Object}**: File object with `contents` string or buffer.\n* `locals` **{Object}**: Locals to use as contents to render the string.\n* `options` **{Object}**: Options with partials and helpers.\n* `returns` **{Object}**: Returns the file object.\n\n**Example**\n\n```js\nlet file = engine.renderSync({ contents: 'Jon {{ name }}' }, { name: 'Schlinkert' });\nconsole.log(file.contents.toString()) // 'Jon Schlinkert'\n```\n\n## Release History\n\n### v1.0.0\n\n* The main export is now a function that takes an instance of handlebars.\n* `renderFile` and `__express` have been removed.\n* `.compile` and `.render` now return a promise.\n* `.compileSync` and `.renderSync` may be used for sync operations.\n* All methods now expect a `file` object with a `.contents` property (string or buffer).\n\n### v0.8.0\n\n* `renderFile` now expects a [vinyl](https://github.com/gulpjs/vinyl) file.\n* The old renderFile method is now exposed on `engine.__express`\n\n### v0.7.0\n\n* updated to handlebars 0.4.0\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [assemble](https://www.npmjs.com/package/assemble): Get the rocks out of your socks! Assemble makes you fast at creating web projects… [more](https://github.com/assemble/assemble) | [homepage](https://github.com/assemble/assemble \"Get the rocks out of your socks! Assemble makes you fast at creating web projects. Assemble is used by thousands of projects for rapid prototyping, creating themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websit\")\n* [handlebars-helpers](https://www.npmjs.com/package/handlebars-helpers): More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate… [more](https://github.com/helpers/handlebars-helpers) | [homepage](https://github.com/helpers/handlebars-helpers \"More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.\")\n* [template-helpers](https://www.npmjs.com/package/template-helpers): Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or… [more](https://github.com/jonschlinkert/template-helpers) | [homepage](https://github.com/jonschlinkert/template-helpers \"Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or any engine that supports helper functions.\")\n* [templates](https://www.npmjs.com/package/templates): System for creating and managing template collections, and rendering templates with any node.js template engine… [more](https://github.com/jonschlinkert/templates) | [homepage](https://github.com/jonschlinkert/templates \"System for creating and managing template collections, and rendering templates with any node.js template engine. Can be used as the basis for creating a static site generator or blog framework.\")\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 32 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 18 | [doowb](https://github.com/doowb) |  \n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on November 11, 2018._","_attachments":{},"homepage":"https://github.com/jonschlinkert/engine-handlebars","bugs":{"url":"https://github.com/jonschlinkert/engine-handlebars/issues"},"license":"MIT"}