{"name":"bulk-write-stream","version":"1.1.3","description":"Writable stream that forwards everything in the highWaterMark buffer to a custom write function using the new writev api in streams","main":"index.js","dependencies":{"inherits":"^2.0.1","readable-stream":"^2.1.4"},"devDependencies":{"standard":"^7.1.2","tape":"^4.0.0"},"scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"https://github.com/mafintosh/bulk-write-stream.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/bulk-write-stream/issues"},"homepage":"https://github.com/mafintosh/bulk-write-stream","gitHead":"058d2dd2e862aa89faf31582b4baeec1bd4be7f1","_id":"bulk-write-stream@1.1.3","_shasum":"d29ca385fbd53f357aee5bd3d3028732b62ae275","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"d29ca385fbd53f357aee5bd3d3028732b62ae275","tarball":"http://registry-npm.ywwl.com/bulk-write-stream/download/bulk-write-stream-1.1.3.tgz","integrity":"sha512-D+Bg51fnqZSMAG5TSa6EBwWl1rXgZ5puHAzmWzSy1dUiQEIC1AhZEp53tpEDI7XS62alJ5YCPXMKS5CTg6Nofg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlABOyvk2Y+Uq7jf4CkUBQP2eO6TTxJ2xUfH6gLMPozAiAfYtcVfSXASTtpOqftOtAO0gMXQ7uUQRxzzlb5MlepcQ=="}],"size":2734,"noattachment":false,"key":"/bulk-write-stream/-/bulk-write-stream-1.1.3.tgz"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bulk-write-stream-1.1.3.tgz_1465599443623_0.3659534649923444"},"directories":{},"readme":"# bulk-write-stream\n\nWritable stream that forwards everything in the `highWaterMark` buffer\nto a custom `write` function using the new [writev](https://nodejs.org/api/stream.html#stream_writable_writev_chunks_callback) api in streams\n\n```\nnpm install bulk-write-stream\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/bulk-write-stream.svg?style=flat)](http://travis-ci.org/mafintosh/bulk-write-stream)\n\n## Usage\n\n``` js\nvar bulk = require('bulk-write-stream')\n\nvar ws = bulk.obj(function (list, cb) {\n  console.log('should write list of objects', list)\n  cb()\n})\n\nws.write('a')\nws.write('b')\nws.write('c')\nws.write('d')\n```\n\n## API\n\n#### `var ws = bulk([options], write, [flush])`\n\nCreate a new binary bulk write stream. Options are forwarded to the writable stream constructor.\nWrite is called with `write(list, cb)` where list is everything currently buffered in the writable stream.\n\nIf you specify a flush function that will be called with `flush(cb)` before the stream emits `finish`.\n\n#### `var ws = bulk.obj([options], write, [flush])`\n\nA shorthand for setting `objectMode: true`\n\n## License\n\nMIT\n","publish_time":1465599446076,"_cnpm_publish_time":1465599446076,"dist-tags":{"latest":"2.0.1"}}