{"_id":"stream-handlebars","_rev":"16-d34cea8b6c1d8ca4aa0cec6605496e02","name":"stream-handlebars","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"stream-handlebars","version":"0.1.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"_id":"stream-handlebars@0.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"bin":{"stream-handlebars":"bin/cli.js"},"dist":{"shasum":"8c47ccabea5b094a31c3caa5429fb6f5e331b9f2","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.0.tgz","integrity":"sha512-CFRD0CYLyfZHVjkiHUkBvZGezQw5kboms5dGsQcwpLVuMryogjlqOjzDjs12zSSUisA/XC+je1nHp8dNqydavQ==","signatures":[{"sig":"MEQCIDs6FZHajqUxEmmonJZDtQcfUVkbLtJzFv2ulyCRZscgAiB4YuK9scIWRuNUt9q4SoJWjeFGo+p7wYJ06PTLiUzQBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"8c47ccabea5b094a31c3caa5429fb6f5e331b9f2","engines":{"node":">=0.10.0"},"gitHead":"659c53623cd97b3a7570319c8fdae3e9fe404fd3","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.7.0","description":"stream-handlebars","_nodeVersion":"0.12.0","dependencies":{"handlebars":"^3.0.0"},"devDependencies":{"tape":"^3.5.0"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"stream-handlebars","version":"0.1.1","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.1.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"bin":{"stream-handlebars":"bin/cli.js"},"dist":{"shasum":"2b3606cb70fa9d2bbc819f807a677717648241d2","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.1.tgz","integrity":"sha512-pkySsjgdspNOODAQOJwJuJPu+tapkZuK6FntA3/SAv/vcXQQnIhA6c8IaDX8dF7Al/XGOrP7ptwWAxTHJcpMPA==","signatures":[{"sig":"MEQCIE2AMYK9FN9OcE1Col/y/YPj5qeQgjLt0yfQNSMb1jPfAiBecPcYWcXLl61TVDakwNy7ukIbLrrDlkKob0TF+erWkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"2b3606cb70fa9d2bbc819f807a677717648241d2","engines":{"node":">=0.10.0"},"gitHead":"de59bfbd1d001760035758c7e25a0dd508920f79","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.7.0","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"0.12.0","dependencies":{"handlebars":"^3.0.0"},"devDependencies":{"tape":"^3.5.0"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2":{"name":"stream-handlebars","version":"0.1.2","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.1.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"bin":{"stream-handlebars":"bin/cli.js"},"dist":{"shasum":"cbcbb7507cd29f681cc14e839894acc5f917efe6","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.2.tgz","integrity":"sha512-ZPy6VesepH35hEbAcfIhpGK/WbLk3KXULEf2E5A6q8uXdYcFn8pHf6PLofwKxfg53ujOpsl80z9y+MdIPcX0rw==","signatures":[{"sig":"MEQCIFmHbzRnSlWkmgs7F5pKtJ4boe8caMCYXmOb4mwbT3niAiAX/1fc3oNwepxa9iJKr5w3aq4C2kWlwSUco8Brklb71Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"cbcbb7507cd29f681cc14e839894acc5f917efe6","engines":{"node":">=0.10.0"},"gitHead":"b434349bec9ed73caa924b67e758eb1db404bc09","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js |tap-spec"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.7.0","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"0.12.0","dependencies":{"handlebars":"^3.0.0","object-tools":"^1.2.1"},"devDependencies":{"tape":"^3.5.0"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.3":{"name":"stream-handlebars","version":"0.1.3","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.1.3","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"bin":{"stream-handlebars":"bin/cli.js"},"dist":{"shasum":"92c16f350c04a88ddf17021d7424b5a983c27c48","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.3.tgz","integrity":"sha512-o5cf5anJvH+DuhIUb47RNM/uOH18aj2xRbfZrPhPy8WnO7JLz7R9uI+GyaDBh/7S1xVzkhMSNAoqh4ZtOULWvw==","signatures":[{"sig":"MEYCIQDsuq7o7hEbT83JxlRrz7ikfQuO0+zOpIGDI+DBJkdSFwIhAOnhcjM4147RnvSbDqTW9O4cIYeaXZdVbLnNzuShFuol","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"92c16f350c04a88ddf17021d7424b5a983c27c48","engines":{"node":">=0.10.0"},"gitHead":"a0134b74d00c9b6092d03c0fc7a2bb0c7be25c35","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js |tap-spec"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.7.0","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"0.12.0","dependencies":{"handlebars":"^3.0.0","object-tools":"^1.2.1"},"devDependencies":{"tape":"^3.5.0","tap-spec":"^2.2.2"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.4":{"name":"stream-handlebars","version":"0.1.4","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.1.4","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"bin":{"stream-handlebars":"bin/cli.js"},"dist":{"shasum":"4f5c0e387e65b4c4ad56c6b7fb6535f923eb2c13","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.4.tgz","integrity":"sha512-g1QEEkmMmfx4M5LqM2ukM9adJb2MU5cqn/4hQRxBa8rZUBY6KHLXp8BxHjl3+L3KEyI8HFtyYPHYC4GCDR0lPw==","signatures":[{"sig":"MEUCIQDZtaTMjPfRHOo39jerkIAtslT++II/lZaZiAimCgJgTAIgOXL7HMITn/XcLx2fSpmxRXjf7VMA7krNpYjX2906+KI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"4f5c0e387e65b4c4ad56c6b7fb6535f923eb2c13","engines":{"node":">=0.10.0"},"gitHead":"5fc1dccdff2c184501967804ddee8b738c4696ba","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js |tap-spec"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.7.1","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"0.12.0","dependencies":{"handlebars":"^3.0.0","object-tools":"^1.2.1"},"devDependencies":{"tape":"^3.5.0","tap-spec":"^2.2.2"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.5":{"name":"stream-handlebars","version":"0.1.5","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.1.5","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"bin":{"stream-handlebars":"bin/cli.js"},"dist":{"shasum":"a02b2cc93654a3a670ea632b713bd966c5574d9d","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.5.tgz","integrity":"sha512-gwgWkLEbebB/y848/lu98mQxgc93v7wTcBQY+E0fiFKMvKE04uSLWVEKXur35AAZi7kSESqdERaDJGDbXGsvLQ==","signatures":[{"sig":"MEQCIGtef6pjMA/79WkSINZvBv/ExA73H9/+hAVu7JjGLtNsAiA0FV5O4SoeXWLbOdFI2quqo7tAYaFR1r/cgv1cNkOE9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"a02b2cc93654a3a670ea632b713bd966c5574d9d","engines":{"node":">=0.10.0"},"gitHead":"3f479a7af2ea3130a2d12aac02acbd3a85c61ede","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js |tap-spec"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.7.1","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"0.12.0","dependencies":{"handlebars":"^3.0.0","object-tools":"^1.2.1"},"devDependencies":{"tape":"^3.5.0","tap-spec":"^2.2.2"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.6":{"name":"stream-handlebars","version":"0.1.6","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.1.6","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars#readme","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"dist":{"shasum":"7305b5064203da171608c478acf642a149892a2f","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.1.6.tgz","integrity":"sha512-i3N3nKsOHucX9NOcj/1pK3Oh+O6uG/9MOCajfVdTlx7l+XuUbl1Zk8KGK4pDBlWswlUGkLAK79QhBQzsXKA6MA==","signatures":[{"sig":"MEUCIAXW8sOWNcrVMCjOTZ+PbirljfB/JaVXOIpnXihk6rRFAiEAqkTRaJnGdMqQOtnt+NjWh9QxFmZVJiJjRgqMQgcAniI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"7305b5064203da171608c478acf642a149892a2f","engines":{"node":">=0.10.0"},"gitHead":"d279030fb9587c518a9fcb6f0f6595921d9dac04","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","lint":"jshint lib/*.js test/*.js; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"2.10.1","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"0.12.4","dependencies":{"handlebars":"^3.0.0","object-tools":"^1.2.1"},"devDependencies":{"tape":"^4","jsdoc-to-markdown":"^1.1.1"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0":{"name":"stream-handlebars","version":"0.2.0","keywords":["handlebars","stream","compile"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"stream-handlebars@0.2.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/stream-handlebars#readme","bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"dist":{"shasum":"1fb3fefe34a7342ce093a62f25dcaec784f6a1bb","tarball":"https://registry.npmjs.org/stream-handlebars/-/stream-handlebars-0.2.0.tgz","integrity":"sha512-F9R5apmQrOKVEaUMXkXNq7kNYjLyqjqoOQeyb1Hl5s16XzT/Pyez0iwH8pX/DBNrlq/t30qfe27FDvsJ/gz0BA==","signatures":[{"sig":"MEUCIQDEbjdTi2tPmEn6wVrCJAs3QkdSTR5hS5/V3xiI77iefQIgDqV+V3C7jBADa+eAs0b9aYOTK/OnBvADfCghDGrNVRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/stream-handlebars.js","_from":".","_shasum":"1fb3fefe34a7342ce093a62f25dcaec784f6a1bb","engines":{"node":">=0.10.0"},"gitHead":"230cc807ea44e0d8c8bfee0b83ea7c0708ad6c26","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs -l js lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/stream-handlebars.git","type":"git"},"_npmVersion":"3.10.3","description":"Extends handlebars with a streaming interface for .compile()","_nodeVersion":"6.3.1","dependencies":{"handlebars":"^4.0.5","object-tools":"^2.0.6"},"devDependencies":{"tape":"^4.6.0","jsdoc-to-markdown":"^1.3.6"},"_npmOperationalInternal":{"tmp":"tmp/stream-handlebars-0.2.0.tgz_1469652979864_0.30929660028778017","host":"packages-16-east.internal.npmjs.com"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2015-03-14T21:10:57.551Z","modified":"2024-09-07T09:51:52.708Z","0.1.0":"2015-03-14T21:10:57.551Z","0.1.1":"2015-03-14T21:27:37.154Z","0.1.2":"2015-03-14T23:37:33.452Z","0.1.3":"2015-03-14T23:48:00.523Z","0.1.4":"2015-03-21T20:46:58.028Z","0.1.5":"2015-03-30T18:29:22.105Z","0.1.6":"2015-05-27T22:13:41.251Z","0.2.0":"2016-07-27T20:56:22.491Z"},"bugs":{"url":"https://github.com/75lb/stream-handlebars/issues"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","homepage":"https://github.com/75lb/stream-handlebars#readme","keywords":["handlebars","stream","compile"],"repository":{"url":"git+https://github.com/75lb/stream-handlebars.git","type":"git"},"description":"Extends handlebars with a streaming interface for .compile()","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"readme":"[![view on npm](http://img.shields.io/npm/v/stream-handlebars.svg)](https://www.npmjs.org/package/stream-handlebars)\n[![npm module downloads per month](http://img.shields.io/npm/dm/stream-handlebars.svg)](https://www.npmjs.org/package/stream-handlebars)\n[![Build Status](https://travis-ci.org/75lb/stream-handlebars.svg?branch=master)](https://travis-ci.org/75lb/stream-handlebars)\n[![Dependency Status](https://david-dm.org/75lb/stream-handlebars.svg)](https://david-dm.org/75lb/stream-handlebars)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n<a name=\"module_stream-handlebars\"></a>\n\n## stream-handlebars\nExtends handlebars with a streaming interface for .compile().\n\n**Example**  \n```js\nvar handlebars = require('stream-handlebars')\nvar fs = require('fs')\n\nvar template = '<p>\\{{paragraph}}</p>'\n\n// it's just regular handlebars..\nhandlebars.registerPartial('whatever', 'the partial content')\n\n// ..with the addition of a streaming interface for .compile()\nvar compileStream = handlebars.createCompileStream(template)\n\n// the template is compiled using the piped-in JSON as context\nfs.createReadStream('./template-data.json', 'utf8')\n    .pipe(compileStream)\n    .pipe(process.stdout)\n```\n\n* [stream-handlebars](#module_stream-handlebars)\n    * [handlebars](#exp_module_stream-handlebars--handlebars) : <code>object</code> ⏏\n        * [.createCompileStream(template, [options])](#module_stream-handlebars--handlebars.createCompileStream) ⇒ <code>[Transform](https://nodejs.org/api/stream.html#stream_class_stream_transform)</code>\n\n<a name=\"exp_module_stream-handlebars--handlebars\"></a>\n\n### handlebars : <code>object</code> ⏏\nThe regular [handlebars](http://handlebarsjs.com) module.\n\n**Kind**: Exported namespace  \n**Extends:** <code>[handlebars](http://handlebarsjs.com)</code>  \n<a name=\"module_stream-handlebars--handlebars.createCompileStream\"></a>\n\n#### handlebars.createCompileStream(template, [options]) ⇒ <code>[Transform](https://nodejs.org/api/stream.html#stream_class_stream_transform)</code>\na stream wrapper for the [handlebars.compile](http://handlebarsjs.com/reference.html) function\n\n**Kind**: static method of <code>[handlebars](#exp_module_stream-handlebars--handlebars)</code>  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| template | <code>string</code> | required template |\n| [options] | <code>object</code> | options passed to both Transform() and .compile() |\n| [options.objectMode] | <code>object</code> | set to true if you wish you pass in the data as an object |\n| [options.data] | <code>object</code> | default data object |\n\n\n* * *\n\n&copy; 2015-16 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).\n","readmeFilename":"README.md"}