{"_id":"multipart-stream","_rev":"4106599","name":"multipart-stream","description":"Simple streaming nodejs module to build http multipart bodies.","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"hendrikcech","email":""}],"time":{"modified":"2026-01-11T18:55:51.000Z","created":"2014-04-21T14:17:45.209Z","2.0.1":"2016-03-11T19:53:01.264Z","2.0.0":"2015-08-11T06:28:28.633Z","1.0.0":"2014-04-21T14:17:45.209Z"},"users":{},"author":{"name":"Hendrik Cech"},"repository":{"type":"git","url":"git+ssh://git@github.com/hendrikcech/multipart-stream.git"},"versions":{"2.0.1":{"name":"multipart-stream","version":"2.0.1","description":"Simple streaming nodejs module to build http multipart bodies.","main":"index.js","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/hendrikcech/multipart-stream.git"},"keywords":["multipart","stream","request","http","streaming"],"author":{"name":"Hendrik Cech"},"license":"MIT","dependencies":{"inherits":"^2.0.1","is-stream":"^1.0.1","sandwich-stream":"^1.0.0"},"devDependencies":{"tape":"^2.12.3"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"fdef6092166022a8a94d593d68cd996e17a2a1d4","bugs":{"url":"https://github.com/hendrikcech/multipart-stream/issues"},"homepage":"https://github.com/hendrikcech/multipart-stream#readme","_id":"multipart-stream@2.0.1","_shasum":"195c9cb4b2c41e78c72a1e8f38c7d0eba1cd0ba0","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"hendrikcech","email":"hendrik.cech@gmail.com"},"dist":{"shasum":"195c9cb4b2c41e78c72a1e8f38c7d0eba1cd0ba0","size":2733,"noattachment":false,"key":"/multipart-stream/-/multipart-stream-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/multipart-stream/download/multipart-stream-2.0.1.tgz"},"maintainers":[{"name":"hendrikcech","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multipart-stream-2.0.1.tgz_1457725978985_0.2747171828523278"},"directories":{},"publish_time":1457725981264,"_hasShrinkwrap":false,"_cnpm_publish_time":1457725981264,"_cnpmcore_publish_time":"2021-12-17T00:21:59.000Z"},"2.0.0":{"name":"multipart-stream","version":"2.0.0","description":"Simple streaming nodejs module to build http multipart bodies.","main":"index.js","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/hendrikcech/multipart-stream.git"},"keywords":["multipart","stream","request","http","streaming"],"author":{"name":"Hendrik Cech"},"license":"MIT","dependencies":{"sandwich-stream":"^1.0.0","inherits":"^2.0.1"},"devDependencies":{"tape":"^2.12.3"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"aa3ccb19ee0c3b16165e1fbe63130286eedd4e47","bugs":{"url":"https://github.com/hendrikcech/multipart-stream/issues"},"homepage":"https://github.com/hendrikcech/multipart-stream#readme","_id":"multipart-stream@2.0.0","_shasum":"c0ac3931bce53d13d71553e5643b74feb25e493e","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"hendrikcech","email":"hendrik.cech@gmail.com"},"dist":{"shasum":"c0ac3931bce53d13d71553e5643b74feb25e493e","size":2730,"noattachment":false,"key":"/multipart-stream/-/multipart-stream-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/multipart-stream/download/multipart-stream-2.0.0.tgz"},"maintainers":[{"name":"hendrikcech","email":""}],"directories":{},"publish_time":1439274508633,"_hasShrinkwrap":false,"_cnpm_publish_time":1439274508633,"_cnpmcore_publish_time":"2021-12-17T00:21:59.198Z"},"1.0.0":{"name":"multipart-stream","version":"1.0.0","description":"Simple streaming nodejs module to build http multipart bodies.","main":"index.js","scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"http://github.com/hendrikcech/multipart-stream.git"},"keywords":["multipart","stream","request","http","streaming"],"author":{"name":"Hendrik Cech"},"license":"MIT","dependencies":{"sandwich-stream":"^0.0.4","inherits":"^2.0.1"},"devDependencies":{"tape":"^2.12.3"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"bugs":{"url":"https://github.com/hendrikcech/multipart-stream/issues"},"homepage":"https://github.com/hendrikcech/multipart-stream","_id":"multipart-stream@1.0.0","dist":{"shasum":"125f2e9e177f661f84ca1c6275bc7eaec3b3f9a0","size":2682,"noattachment":false,"key":"/multipart-stream/-/multipart-stream-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/multipart-stream/download/multipart-stream-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hendrikcech","email":"hendrik.cech@gmail.com"},"maintainers":[{"name":"hendrikcech","email":""}],"directories":{},"publish_time":1398089865209,"_hasShrinkwrap":false,"_cnpm_publish_time":1398089865209,"_cnpmcore_publish_time":"2021-12-17T00:21:59.432Z"}},"readme":"# multipart-stream\nSimple streaming nodejs module to build http multipart bodies. Use [browserify](https://github.com/substack/browserify) to make it browser-compatible.\n\n[![testling badge](https://ci.testling.com/hendrikcech/multipart-stream.png)](https://ci.testling.com/hendrikcech/multipart-stream)\n\n## install\n\tnpm install multipart-stream\n\n# usage\n```javascript\nvar Multipart = require('multipart-stream')\n\n// returns a readable stream\nvar mp = new Multipart()\n\nmp.addPart({\n\t// by default no headers are set\n\theaders: {\n\t\t'Content-Type': 'text/plain'\n\t},\n\t// pass either a string, a buffer or a readable stream\n\tbody: 'Simple string'\n})\n\nvar data = ''\nmp.on('data', function(d) {\n\tdata += d\n}).on('end', function() {\n\tconsole.log(data)\n})\n```\n\n# test\n\tnpm test\n\n# license\nThe MIT License (MIT)\n\nCopyright (c) 2014 Hendrik Cech\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_attachments":{},"homepage":"https://github.com/hendrikcech/multipart-stream#readme","bugs":{"url":"https://github.com/hendrikcech/multipart-stream/issues"},"license":"MIT"}