{"_id":"handlebars-helper-create-frame","_rev":"3-b867d0ecac6600307478b7288fa0b097","name":"handlebars-helper-create-frame","description":"Handlebars block helper for creating private variables that are accessible inside the block.","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"handlebars-helper-create-frame","description":"Handlebars block helper for creating private variables that are accessible inside the block.","version":"0.1.0","homepage":"https://github.com/helpers/handlebars-helper-create-frame","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/helpers/handlebars-helper-create-frame.git"},"bugs":{"url":"https://github.com/helpers/handlebars-helper-create-frame/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"dependencies":{"create-frame":"^1.0.0","isobject":"^3.0.0"},"devDependencies":{"gulp-format-md":"^0.1.11","handlebars":"^4.0.6","mocha":"^3.2.0"},"keywords":["create","frame","generategenerator","handlebars","helper","helpers","render","template","templates"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["helper-octicon","helper-html-table","helper-geopattern","helper-uigradient","template-helpers","handlebars-helpers"]},"reflinks":["verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"2b46de82d8f0b576deadb5158ea1aeec366f8ef1","_id":"handlebars-helper-create-frame@0.1.0","_shasum":"8aa51d10aeb6408fcc6605d40d77356288487a03","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8aa51d10aeb6408fcc6605d40d77356288487a03","tarball":"https://registry.npmjs.org/handlebars-helper-create-frame/-/handlebars-helper-create-frame-0.1.0.tgz","integrity":"sha512-yR99Rh8JYcWSsARw/unaOUUICqG0M+SV3U4vBl3Psn78r0qXjU+cT9+IGXglNuuI3RfahvFDyEQ0l1KWthavRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0j2d19waPP01e8OUXLq1ktOu10Sz01RvXN72X6bf1wAIhAImu9n81vdymp+B4TvP97HmdafONWUWNoLec0h9Uou6x"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/handlebars-helper-create-frame-0.1.0.tgz_1483661817327_0.4472586519550532"}}},"readme":"# handlebars-helper-create-frame [![NPM version](https://img.shields.io/npm/v/handlebars-helper-create-frame.svg?style=flat)](https://www.npmjs.com/package/handlebars-helper-create-frame) [![NPM monthly downloads](https://img.shields.io/npm/dm/handlebars-helper-create-frame.svg?style=flat)](https://npmjs.org/package/handlebars-helper-create-frame)  [![NPM total downloads](https://img.shields.io/npm/dt/handlebars-helper-create-frame.svg?style=flat)](https://npmjs.org/package/handlebars-helper-create-frame) [![Linux Build Status](https://img.shields.io/travis/helpers/handlebars-helper-create-frame.svg?style=flat&label=Travis)](https://travis-ci.org/helpers/handlebars-helper-create-frame)\n\n> Handlebars block helper for creating private variables that are accessible inside the block.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save handlebars-helper-create-frame\n```\n\n## Usage\n\nExample for handlebars, but this should work for any template engine that takes helpers or filters.\n\n```js\nvar handlebars = require('handlebars');\n\nhandlebars.registerHelper('frame', require('handlebars-helper-create-frame'));\nvar fn = handlebars.compile('{{#frame site=site}}Name: {{@site.name}}{{/frame}}');\nconsole.log(fn({site: {name: 'Test'}}));\n//=> 'Name: Test'\n```\n\n## About\n\n### Related projects\n\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/assemble/handlebars-helpers) | [homepage](https://github.com/assemble/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* [helper-geopattern](https://www.npmjs.com/package/helper-geopattern): Template helper for generating a geometric SVG pattern for CSS backgrounds using btmills/geopattern | [homepage](https://github.com/helpers/helper-geopattern \"Template helper for generating a geometric SVG pattern for CSS backgrounds using btmills/geopattern\")\n* [helper-html-table](https://www.npmjs.com/package/helper-html-table): Create an HTML table from JSON configuration. | [homepage](https://github.com/helpers/helper-html-table \"Create an HTML table from JSON configuration.\")\n* [helper-octicon](https://www.npmjs.com/package/helper-octicon): Template helper for displaying octicon SVGs. Should work with any Handlebars, Lo-Dash, underscore or any… [more](https://github.com/helpers/helper-octicon) | [homepage](https://github.com/helpers/helper-octicon \"Template helper for displaying octicon SVGs. Should work with any Handlebars, Lo-Dash, underscore or any template engine that allows helper functions to be registered. Also compatible with verb, assemble, and templates.\")\n* [helper-uigradient](https://www.npmjs.com/package/helper-uigradient): Template helper that generates the CSS for any of the gradients from Ghosh/uiGradients | [homepage](https://github.com/helpers/helper-uigradient \"Template helper that generates the CSS for any of the gradients from Ghosh/uiGradients\")\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\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for avice on opening issues, pull requests, and coding standards.\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [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.2.3, on January 05, 2017._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-18T18:52:31.473Z","created":"2017-01-06T00:16:58.014Z","0.1.0":"2017-01-06T00:16:58.014Z"},"homepage":"https://github.com/helpers/handlebars-helper-create-frame","keywords":["create","frame","generategenerator","handlebars","helper","helpers","render","template","templates"],"repository":{"type":"git","url":"git+https://github.com/helpers/handlebars-helper-create-frame.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/helpers/handlebars-helper-create-frame/issues"},"license":"MIT","readmeFilename":"README.md"}