{"_id":"wheelhouse-handlebars","_rev":"31-24d3aabd37b0efcd50ba923dc12a3efb","name":"wheelhouse-handlebars","description":"A wheelhouse library to handlebars templates for rendering views","dist-tags":{"latest":"0.3.7"},"versions":{"0.2.1":{"name":"wheelhouse-handlebars","version":"0.2.1","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","walker":"~1.0","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield_}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed: `sudo npm i -g grunt-cli`\n`npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","_id":"wheelhouse-handlebars@0.2.1","dist":{"shasum":"62a65aacdacd61a9ba970946932c5c3474ea90f1","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.1.tgz","integrity":"sha512-ULStcqnYmi9Sd01PcfnyrvH2ijiZOysYDJ/alPGCqI0NdYtP0SrLYU6JvjuUCCyay6s6ES1I/K2loV+R5ezgrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERRhSMYAlbzINZnzAtM0kbEv055LcBhvhw6MRO8dc+7AiEA74jtlkth1sj4qja6ZiWx2xkNuDVYw2u/v75KjIaZdZc="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.2.2":{"name":"wheelhouse-handlebars","version":"0.2.2","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","walker":"~1.0","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield_}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed: `sudo npm i -g grunt-cli`\n`npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","_id":"wheelhouse-handlebars@0.2.2","dist":{"shasum":"29a4f4dffbc2fab87b7591f42c74fd91fd36d613","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.2.tgz","integrity":"sha512-x4J20uFw2isPVmZCE92f3TXD4uJ/7o03jTOQogTqypcpUciv56GBmIB4baiePSR3tsGOmq4yPdlCG+3rPNC3Cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXUiBxAONDBMpG0T9cn6JotQqNpIKtjcM5bHBRxCrxxAiEA7o9/Tk1c5Bljl+hXjW/bAaL4zgRp4Ab9TFjRwoF3G9s="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.2.3":{"name":"wheelhouse-handlebars","version":"0.2.3","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","walker":"~1.0","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield_}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed: `sudo npm i -g grunt-cli`\n`npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","_id":"wheelhouse-handlebars@0.2.3","dist":{"shasum":"421a8bb6718cceffabcf5374951521fa44230558","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.3.tgz","integrity":"sha512-kQzYQufwED9IhnVOFdX+Q1vdQX05qLKtgIC+zmaFV8KrIWUPhW7EeiUPKI7pGy2QGXLRq5DS4i8SRFi8ToA5Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9zGH87VPdI9pJwwoUhH3JcLymcbadn2/4j+RST09pvwIgY5qY3XIXrLXFoUOnLDqJvkxBhoXN0L54CQB+40FJuMk="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.2.4":{"name":"wheelhouse-handlebars","version":"0.2.4","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","walker":"~1.0","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","_id":"wheelhouse-handlebars@0.2.4","dist":{"shasum":"d6027d404985c16c34c0c06ccf762aaf057dc5a1","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.4.tgz","integrity":"sha512-e73GGnXHeubZfQWh6KuPQX+CXHmdm27YIaOTYHQXHU4mjZzGzIjVAyTWbb7t69mFBGaw6Ni4oEOGA213g6YKmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgRjKPHt3gEsEouydqDBbvdssx4eNgxP1nu7oF3GFGvAiEA7QZUkFZWfpIoBvmiPBOPjaF692wsz/wRqr0KgwU7lIU="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.2.5":{"name":"wheelhouse-handlebars","version":"0.2.5","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","findit":"~0.1","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"_id":"wheelhouse-handlebars@0.2.5","dist":{"shasum":"aa516a3575c1bc247fe0134e9f2a5603b4d1313d","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.5.tgz","integrity":"sha512-S0daQWAjAx5/RpX+utNO5UCEYg6kxZhLQTI3H92m4LPq5eQOMYbCeZH7Vi/UOpokegkBHphtwJxXhWlctyyTXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+hqhFALLc5shAlYjLjXngUcmbudnt53IAxOtrk6a9FAiB3B7BKgqddIXnjhAxkcMY5Q2KjGoLtnUUdaPzl+17shg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.2.6":{"name":"wheelhouse-handlebars","version":"0.2.6","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","findit":"~0.1","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"_id":"wheelhouse-handlebars@0.2.6","dist":{"shasum":"000b82dbc8a1216ba33dc96b2b1daf37255af65c","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.6.tgz","integrity":"sha512-xpRzmFtLD/Pqp9etY2VqVvcvAdFrgy39Q42hGBBtUszWSt8joQAmpK2RJ5QZQTyRc7ptwd1ka1ls/TpvMT2Cfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEi2Bv/0QrrTPHhmPFw3Xr6gxAd31Zlydq0sSt7DrJEgIgG/krrvng1QrQbj76RPdvdc9TS1gIZ5YKxe80dCZSytI="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.2.7":{"name":"wheelhouse-handlebars","version":"0.2.7","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","findit":"~0.1","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"_id":"wheelhouse-handlebars@0.2.7","dist":{"shasum":"a0102d7e2827e51a1636976f220eacd105bc8dfc","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.2.7.tgz","integrity":"sha512-nw3QMpF7H4LRoD8YIMGKbnyKcjxMK+DKUjh7DWggqVBCZiZycnFNsF/nwH0KkJSIsXwXYlecLbVaHdA+gAnDyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8qFX5X+Plw5Rd7UMYVBZYU3sCwKWXLuaBTzfyMBrV0gIgNm1ZXI8ocUaInLqH08fly9y8ib2JWSfOMA40/V0IfDw="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.0":{"name":"wheelhouse-handlebars","version":"0.3.0","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~1.1","backbone":"~1.0","findit":"~0.1","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.4","chai":"~1.5","mocha":"~1.9","grunt-simple-mocha":"~0.3","union":"~0.3","grunt-shell":"~0.2"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"_id":"wheelhouse-handlebars@0.3.0","dist":{"shasum":"150e1042d3ef2ac6877eb1da97acf82f6c058966","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.0.tgz","integrity":"sha512-OOuSJTTrf1bgby+qdNZ109oWOkOEBTdgaIvytLMbjAfawk15kKVfzfZrvTzYftEfeUi08gMXVJRFJM1fam3UNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEdnSYLlwE7xvQaRKIPwAMhIOjRAqHlB4sVYNMQScgfgAiA3gPwTHWqfdoTzTbx2J1cpaGdpLH+F/A+n63R0Ah5Law=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.1":{"name":"wheelhouse-handlebars","version":"0.3.1","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","backbone","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~2.0","backbone":"~1.0","findit":"~1.1","handlebars":"~1.0"},"devDependencies":{"flatiron":"~0.3","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2","grunt-contrib-jshint":"~0.6","chai":"~1.7","mocha":"~1.13","grunt-simple-mocha":"~0.4","union":"~0.3","grunt-shell":"~0.3"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\n[![NPM](https://nodei.co/npm/wheelhouse-handlebars.png)](https://nodei.co/npm/wheelhouse-handlebars/)\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"_id":"wheelhouse-handlebars@0.3.1","dist":{"shasum":"cb20cc5d5013eba800852c3a033106cbc8269ddd","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.1.tgz","integrity":"sha512-mpMAFnFjZjLG/74fd5k8IRy84SPDWIZhwruKVOv9V8uYqizt4crzRaX/uCbNhObteg9FNlULm4kruUs1z1cWcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGLUY7S5MBhRHaE5JYfdB4FVuErY7iure4GULv4kpGdMAiBs6XVlD/Q7tpGLFlfmLTe4gnAt/ovHZRkZLVL5dOirUQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.2":{"name":"wheelhouse-handlebars","version":"0.3.2","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","templates","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~2.3","findit":"~1.1","handlebars":"~1.1"},"devDependencies":{"flatiron":"~0.3.8","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2.16","grunt-contrib-jshint":"~0.7","chai":"~1.8","mocha":"~1.14","grunt-simple-mocha":"~0.4","union":"~0.3","grunt-shell":"~0.3"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\n[![NPM](https://nodei.co/npm/wheelhouse-handlebars.png)](https://nodei.co/npm/wheelhouse-handlebars/)\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"homepage":"https://github.com/joeybaker/wheelhouse-handlebars","_id":"wheelhouse-handlebars@0.3.2","dist":{"shasum":"eeb867292ae03db9564d4ed59d32f03b6c6c8a9c","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.2.tgz","integrity":"sha512-yws2DL6uSwrxycJvDxFlYLmM3RhZwCM4DHgqrHv3cyAk7y46N04qgBLo22TfyMxokm5aTfID34TPaZnXzaNSJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOw0TG558bdc4/n4mnoWCq0rKdJRdZMJQ5E/0rxaJoxAiEA8X74BwQpNu3HWcZM3ATeNBNVU+ORZSSTk66FVZiZvl8="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.3":{"name":"wheelhouse-handlebars","version":"0.3.3","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","templates","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~2.3","findit":"~1.1","handlebars":"~1.1.2"},"devDependencies":{"flatiron":"~0.3.8","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2.16","grunt-contrib-jshint":"~0.7","chai":"~1.8","mocha":"~1.14","grunt-simple-mocha":"~0.4","union":"~0.3","grunt-shell":"~0.3"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\n[![NPM](https://nodei.co/npm/wheelhouse-handlebars.png)](https://nodei.co/npm/wheelhouse-handlebars/)\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n### Creating a new helper\n```js\n\nvar Handlebars = require('handlebars')\n// define your helper function\nfunction helper(context) {\n  return 'hello! ' + context.msg\n}\n\n// export a function that accepts a handlebars instance\nmodule.exports = function(handlebars){\n  // if we haven't been given a handlebars instance, use the one we required. This will work fine browser-side, but not in node, you must pass the handlebars instance you want to attach to (this plugin does that for you.)\n  handlebars || (handlebars = Handlebars)\n  return handlebars.registerHelper('hello', helper)\n}\n\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n\n## Changelog\n### 0.3.2\n* **Breaking change**: helpers must now return a function that accepts a single argument: the `Handlebars` instances you want to attach the helper to. If you don't pass a handlebars instance, it will require handlebars and use that instance (works great client side)\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"homepage":"https://github.com/joeybaker/wheelhouse-handlebars","_id":"wheelhouse-handlebars@0.3.3","dist":{"shasum":"5cb6159da79d1ab3887b483b47026753b3cb1558","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.3.tgz","integrity":"sha512-FgKMJJQCR++cN0IHNf+iOCVqeNRDbTJO/OAkdfaYVOanovhs75WJ1sQ8u2UiRgDGzKnTJM0q0geHjrIvfvvyfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHVaK00Fzh8crnShGmtYtk9x6qzz7WWmI4KdHKuBNR1AIgfVl7Ope9OYl5qKNNFTQm39PbJYyk+/BxhFSlRJtmkNs="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.4":{"name":"wheelhouse-handlebars","version":"0.3.4","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","templates","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~2.4","findit":"~1.1","handlebars":"~1.1.2"},"devDependencies":{"flatiron":"~0.3.9","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2.16","grunt-contrib-jshint":"~0.7","chai":"~1.8","mocha":"~1.15","grunt-simple-mocha":"~0.4","union":"~0.3","grunt-shell":"~0.6"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\n[![NPM](https://nodei.co/npm/wheelhouse-handlebars.png)](https://nodei.co/npm/wheelhouse-handlebars/)\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n### Creating a new helper\n```js\n\nvar Handlebars = require('handlebars')\n// define your helper function\nfunction helper(context) {\n  return 'hello! ' + context.msg\n}\n\n// export a function that accepts a handlebars instance\nmodule.exports = function(handlebars){\n  // if we haven't been given a handlebars instance, use the one we required. This will work fine browser-side, but not in node, you must pass the handlebars instance you want to attach to (this plugin does that for you.)\n  handlebars || (handlebars = Handlebars)\n  return handlebars.registerHelper('hello', helper)\n}\n\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n\n## Changelog\n### 0.3.3\n* If the requested template isn't cached, throw an error\n* Updated lodash and misc dev dependencies\n\n### 0.3.2\n* **Breaking change**: helpers must now return a function that accepts a single argument: the `Handlebars` instances you want to attach the helper to. If you don't pass a handlebars instance, it will require handlebars and use that instance (works great client side)\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"homepage":"https://github.com/joeybaker/wheelhouse-handlebars","_id":"wheelhouse-handlebars@0.3.4","dist":{"shasum":"fab82ee0e76becb4621d16bf020b2aca38492407","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.4.tgz","integrity":"sha512-1XG9GI4blGqU7aGv80ABUZnFlp390KsM+f/ia7vO3Hfn6Zn3IqxraWfg73RE1rtSO5od74FI3ZvTWQlHN1w5sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYAh+3AXKxY+Vxl+0d/vNpPDOglHfHEYHipq4DCw2zLgIhAOsX971e9kqHU+9q7Oq6/RlVAEWG6Tpk5ukuz4LEJcNH"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.5":{"name":"wheelhouse-handlebars","version":"0.3.5","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","templates","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~2.4","findit":"~1.1","handlebars":"~1.1.2"},"devDependencies":{"flatiron":"~0.3.9","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2.16","grunt-contrib-jshint":"~0.7","chai":"~1.8","mocha":"~1.15","grunt-simple-mocha":"~0.4","union":"~0.3","grunt-shell":"~0.6"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\n[![NPM](https://nodei.co/npm/wheelhouse-handlebars.png)](https://nodei.co/npm/wheelhouse-handlebars/)\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n### Creating a new helper\n```js\n\nvar Handlebars = require('handlebars')\n// define your helper function\nfunction helper(context) {\n  return 'hello! ' + context.msg\n}\n\n// export a function that accepts a handlebars instance\nmodule.exports = function(handlebars){\n  // if we haven't been given a handlebars instance, use the one we required. This will work fine browser-side, but not in node, you must pass the handlebars instance you want to attach to (this plugin does that for you.)\n  handlebars || (handlebars = Handlebars)\n  return handlebars.registerHelper('hello', helper)\n}\n\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n\n## Changelog\n### 0.3.5\n* typo in last release notes\n\n### 0.3.4\n* If the requested template isn't cached, throw an error\n* Updated lodash and misc dev dependencies\n\n### 0.3.2\n* **Breaking change**: helpers must now return a function that accepts a single argument: the `Handlebars` instances you want to attach the helper to. If you don't pass a handlebars instance, it will require handlebars and use that instance (works great client side)\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"homepage":"https://github.com/joeybaker/wheelhouse-handlebars","_id":"wheelhouse-handlebars@0.3.5","dist":{"shasum":"d1670386d9036ec0016c1553f4daee1f141fad98","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.5.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]},"0.3.7":{"name":"wheelhouse-handlebars","version":"0.3.7","description":"A wheelhouse library to handlebars templates for rendering views","main":"index.js","scripts":{"test":"mocha test/specs"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"},"keywords":["flatiron","templates","connect","views","handlebars","wheelhouse"],"author":{"name":"Joey Baker"},"license":"BSD","dependencies":{"lodash":"~2.4","findit":"~1.1","handlebars":"~1.1.2"},"devDependencies":{"flatiron":"~0.3.9","grunt":"~0.4","grunt-bumpx":"~0.1","grunt-notify":"~0.2.16","grunt-contrib-jshint":"~0.7","chai":"~1.8","mocha":"~1.15","grunt-simple-mocha":"~0.4","union":"~0.3","grunt-shell":"~0.6"},"peerDependencies":{"flatiron":"~0.3"},"readme":"wheelhouse-handlebars\n=======================\n\n[![NPM](https://nodei.co/npm/wheelhouse-handlebars.png)](https://nodei.co/npm/wheelhouse-handlebars/)\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n### Creating a new helper\n```js\n\nvar Handlebars = require('handlebars')\n// define your helper function\nfunction helper(context) {\n  return 'hello! ' + context.msg\n}\n\n// export a function that accepts a handlebars instance\nmodule.exports = function(handlebars){\n  // if we haven't been given a handlebars instance, use the one we required. This will work fine browser-side, but not in node, you must pass the handlebars instance you want to attach to (this plugin does that for you.)\n  handlebars || (handlebars = Handlebars)\n  return handlebars.registerHelper('hello', helper)\n}\n\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed:\n* `sudo npm i -g grunt-cli`\n* `npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n\n## Changelog\n### 0.3.5\n* typo in last release notes\n\n### 0.3.4\n* If the requested template isn't cached, throw an error\n* Updated lodash and misc dev dependencies\n\n### 0.3.2\n* **Breaking change**: helpers must now return a function that accepts a single argument: the `Handlebars` instances you want to attach the helper to. If you don't pass a handlebars instance, it will require handlebars and use that instance (works great client side)\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/joeybaker/wheelhouse-handlebars/issues"},"homepage":"https://github.com/joeybaker/wheelhouse-handlebars","_id":"wheelhouse-handlebars@0.3.7","dist":{"shasum":"d08912c8b4915061b25722d71dc4b35e98da7606","tarball":"https://registry.npmjs.org/wheelhouse-handlebars/-/wheelhouse-handlebars-0.3.7.tgz","integrity":"sha512-ixijHNYu9PdN6ZOd+asU8FrJXns9pyTiuELmCrBBPOmNOFNVH6XAURYz1xhmHObskZRi0UvCsbKP+jZetklujg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEzV587IBQ+e6OwyRhzKz5E1f5FOOx/7/kEChnztnREwIhAN8RVqdIUq4C/PGrxLPIOlOsXZhQiOwTUYePJkdlVAL7"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"joeybaker","email":"joey@byjoeybaker.com"},"maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}]}},"readme":"wheelhouse-handlebars\n=======================\n\nA wheelhouse package for rendering handlebars templates with [flatiron](https://github.com/flatiron/flatiron).\n\n## Usage\n\n### Setup\n```js\nvar flatiron = require('flatiron')\n  , app = flatiron.app\n  , handlebarsPlugin = require('wheelhouse-handlebars')\n\napp.use(flatiron.plugins.http, {})\n\napp.use(handlebarsPlugin, {\n  templates: '/full/path/to/handlebars/templates' // required. Absolute path.\n  , helpers: '/full/path/to/handlebars/helpers' // optional, if you have handlebars helpers, this is where you load them. Can be an array or a string.\n  , layout: 'layout' // optional, the name of the main layout file. Can be a path relative to your templates directory.\n  , extension: 'hbs' // optional, the extension name for you handlebars templates. Don't prefix with a dot.\n})\n\napp.start(8999)\n```\n\n### rendering\n\n`app.render('template/name', data, options)`\n\n```js\n\napp.router.on('get', 'some/path', function(){\n  this.res.end(app.render('home', {hello: 'world'}, {\n    title: 'Hello World'\n    , meta: {description: 'Sup there Googs?'}\n    , myLayoutVar: 'an optional value that defined in your layout template'\n  }))\n})\n\n```\n\n### Layout config options\n\nThe main layout files (`layout.hbs` by default), gets a few variables passed to it\nwhich you should include in your layout.\n\nYou can look in `test/fixtures/templates/layout.hbs` for an example of a layout file.\n\n#### {{_yield_}}\nThis is the spot in your layout where the templates will be rendered. Same as say… Rails.\n\n### {{_development}}\nBoolean. Are you in an development environment? Useful if you have scripts or somesuch that you only want in your HTML in development.\n\n#### {{title}}\nYou can pass this in as an option the the render function to set the title attribute\nof page.\n\n#### {{meta}}\nAlso an optional parameter that can be passed into the `render` method. Should be an object. e.g. `{meta: {description: 'A meta description for my page!'}}`\n\n* The main layout for your site should be in a file called `layout.hbs`\n\n### template parsing\nTemplates are parsed when you call `app.start()`, which means that making a change to a template will not be recognized by the server until you restart it.\n\nThis is desired behavior in production, but in development it can be a pain, so…  there's a way around that!\n\n```js\napp.parseTemplates(function(){\n  // do something else now that templates have been reparsed.\n})\n```\n\n## tests\n\n### The grunt way\nYou must have [grunt-cli](https://github.com/gruntjs/grunt-cli) installed: `sudo npm i -g grunt-cli`\n`npm test`\n\n### The Mocha way\n`mocha test/specs -ui bdd`\n","maintainers":[{"name":"joeybaker","email":"joey@byjoeybaker.com"}],"time":{"modified":"2022-07-13T16:48:08.108Z","created":"2013-04-06T00:16:53.029Z","0.2.1":"2013-04-06T00:16:54.649Z","0.2.2":"2013-04-06T00:26:41.965Z","0.2.3":"2013-04-06T01:08:27.070Z","0.2.4":"2013-04-12T17:02:22.442Z","0.2.5":"2013-08-28T18:46:17.387Z","0.2.6":"2013-08-28T19:02:23.385Z","0.2.7":"2013-08-31T00:16:11.417Z","0.3.0":"2013-08-31T02:03:31.146Z","0.3.1":"2013-09-16T18:59:19.297Z","0.3.2":"2013-11-16T21:33:56.932Z","0.3.3":"2013-11-19T02:38:18.777Z","0.3.4":"2013-12-11T01:52:07.821Z","0.3.5":"2013-12-11T01:52:58.449Z","0.3.7":"2013-12-12T02:10:46.300Z"},"author":{"name":"Joey Baker"},"repository":{"type":"git","url":"git@github.com:joeybaker/wheelhouse-handlebars.git"}}