{"dist":{"shasum":"99d14e314564f52a85d8342f59007e1577809d8c","tarball":"https://registry.npmjs.org/redis-protocol-stream/-/redis-protocol-stream-0.1.5.tgz","integrity":"sha512-Xwr32SME32et3XRQZjRxIs8SiIiP7fwVM6vW0Vx+4pJPrxUFN7kQByxI55x833cB79Xjuwj7BbE8U6jLMDc/BA==","signatures":[{"sig":"MEUCIQC75DVNvF6Fk6olVbSm3REkfbGHz4ImEAXnN2YAeSXPqAIgHV+HGcZ28h+BKEtiJ4RVRUi9yVQyMvo36G2YgN5kxjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"name":"redis-protocol-stream","_from":".","author":{"url":"http://dominictarr.com","name":"'Dominic Tarr'","email":"dominic.tarr@gmail.com"},"readme":"# redis-protocol-stream\n\nStreams of the [redis protocol](http://redis.io/topics/protocol)\n\n<img src=https://secure.travis-ci.org/dominictarr/redis-protocol-stream.png?branch=master>\n\nThe Redis Protocol is suitable for streams of arrays of binary data, \nwhile also being moderately human readable. \n\n``` js\nvar redis = require('redis-protocol-stream')\n\n//convert arrays to the redis protocol.\n\nvar rs = redis.stringify()\n  .pipe(process.stdout, {end: false})\n\nrs.write(['hello', 3, 'whatever'])\n\nvar ps = redis.parse({buffers: false})\n  .on('data', console.log)\n\nps.write('*3\\r\\n$5\\r\\nhello\\r\\n$5\\r\\nmello\\r\\n$5\\r\\nyello\\r\\n')\n\n```\nAlso, convert a stream of arrays of strings or buffers to REDIS.\n\n``` js\nvar redis = require('redis-protocol-stream')\nvar through = require('through')\n\nvar rs = redis.serialize(through(function (ary) {\n  console.log(ary)\n  this.emit('data', ary)\n}))\n\n```\nThis is useful when you have a duplex stream that you want in the redis protocol.\n\n## License\n\nMIT\n","license":"MIT","scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"homepage":"https://github.com/dominictarr/redis-protocol-stream","repository":{"url":"git://github.com/dominictarr/redis-protocol-stream.git","type":"git"},"_npmVersion":"1.2.3","description":"Streams of the [redis protocol](http://redis.io/topics/protocol)","directories":{},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dependencies":{"redis":"~0.8.2","through":"~2.3.1","stream-combiner":"0.0.0"},"readmeFilename":"README.md","devDependencies":{"tape":"0.0.4"},"_id":"redis-protocol-stream@0.1.5","version":"0.1.5"}