{"_id":"stream-array","_rev":"33069","name":"stream-array","description":"Pipe an Array through Node.js streams","dist-tags":{"latest":"1.1.2"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"time":{"modified":"2021-06-03T10:06:00.000Z","created":"2013-05-20T23:43:51.846Z","1.1.2":"2016-04-30T15:07:27.426Z","1.1.1":"2015-08-27T00:41:58.329Z","1.1.0":"2015-04-19T03:52:07.387Z","1.0.2":"2015-04-16T20:29:42.067Z","1.0.1":"2014-11-09T21:10:59.021Z","1.0.0":"2014-11-02T14:41:35.993Z","0.1.3":"2013-08-28T04:10:46.066Z","0.1.2":"2013-06-03T22:13:39.440Z","0.1.1":"2013-06-03T22:09:32.823Z","0.1.0":"2013-05-20T23:43:51.846Z"},"users":{"iarna":true,"n370":true,"simonja":true,"theobroma222":true},"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"repository":{"type":"git","url":"git+https://github.com/mimetnet/node-stream-array.git"},"versions":{"1.1.2":{"name":"stream-array","version":"1.1.2","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~2.1.0"},"devDependencies":{"concat-stream":"~1.5.0","tape":"~4.5.0"},"scripts":{"test":"tape ./test/*","coverage":"covert ./test/*"},"repository":{"type":"git","url":"git+https://github.com/mimetnet/node-stream-array.git"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"homepage":"https://github.com/mimetnet/node-stream-array","keywords":["array","readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":"MIT","main":"index.js","directories":{"test":"test"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/3.5","firefox/latest","firefox/nightly","chrome/10","chrome/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"]},"engines":{"node":">= 0.8"},"gitHead":"bfdc14a2f220b767d62910902aa4bffeac52b77f","_id":"stream-array@1.1.2","_shasum":"9e5f7345f2137c30ee3b498b9114e80b52bb7eb5","_from":".","_npmVersion":"3.8.8","_nodeVersion":"6.0.0","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"dist":{"shasum":"9e5f7345f2137c30ee3b498b9114e80b52bb7eb5","size":3358,"noattachment":false,"key":"/stream-array/-/stream-array-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-1.1.2.tgz"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stream-array-1.1.2.tgz_1462028845271_0.6742932945489883"},"publish_time":1462028847426,"_cnpm_publish_time":1462028847426,"_hasShrinkwrap":false},"1.1.1":{"name":"stream-array","version":"1.1.1","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~2.0.0"},"devDependencies":{"concat-stream":"~1.5.0","tape":"~4.2.0"},"scripts":{"test":"tape ./test/*","coverage":"covert ./test/*"},"repository":{"type":"git","url":"git+https://github.com/mimetnet/node-stream-array.git"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["array","readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/3.5","firefox/latest","firefox/nightly","chrome/10","chrome/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"]},"engines":["node >= 0.8.0"],"gitHead":"47b3dc837b86609d479b8ba0bd19145fbe43efe2","homepage":"https://github.com/mimetnet/node-stream-array#readme","_id":"stream-array@1.1.1","_shasum":"df6b0a1b90b604ac13f2627024c80a96c7714cc9","_from":".","_npmVersion":"2.14.0","_nodeVersion":"3.1.0","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"dist":{"shasum":"df6b0a1b90b604ac13f2627024c80a96c7714cc9","size":3219,"noattachment":false,"key":"/stream-array/-/stream-array-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-1.1.1.tgz"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"publish_time":1440636118329,"_cnpm_publish_time":1440636118329,"_hasShrinkwrap":false},"1.1.0":{"name":"stream-array","version":"1.1.0","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.1.0"},"devDependencies":{"concat-stream":"~1.4.8","tape":"~4.0.0"},"scripts":{"test":"tape ./test/*","coverage":"covert ./test/*"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["array","readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/3.5","firefox/latest","firefox/nightly","chrome/10","chrome/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"]},"engines":["node >= 0.8.0"],"gitHead":"f1cf03f1bbb79059b40f0ac2add02782b806d0fe","homepage":"https://github.com/mimetnet/node-stream-array","_id":"stream-array@1.1.0","_shasum":"50847e3ce7d3a358f17eafb2817c934a1aa33423","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"dist":{"shasum":"50847e3ce7d3a358f17eafb2817c934a1aa33423","size":3251,"noattachment":false,"key":"/stream-array/-/stream-array-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-1.1.0.tgz"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"publish_time":1429415527387,"_cnpm_publish_time":1429415527387,"_hasShrinkwrap":false},"1.0.2":{"name":"stream-array","version":"1.0.2","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.1.0","fastqueue":"~0.1.0"},"devDependencies":{"concat-stream":"~1.4.8","tape":"~4.0.0"},"scripts":{"test":"tape ./test/*","coverage":"covert ./test/*"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["array","readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/3.5","firefox/latest","firefox/nightly","chrome/10","chrome/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"]},"engines":["node >= 0.8.0"],"gitHead":"05eed0b04486d67c07f54d5e146ce6195431ebd1","homepage":"https://github.com/mimetnet/node-stream-array","_id":"stream-array@1.0.2","_shasum":"6d75c429b1c2636b1e640644c9d85d7cf0aa6948","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.6.4","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"dist":{"shasum":"6d75c429b1c2636b1e640644c9d85d7cf0aa6948","size":3237,"noattachment":false,"key":"/stream-array/-/stream-array-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-1.0.2.tgz"},"publish_time":1429216182067,"_cnpm_publish_time":1429216182067,"_hasShrinkwrap":false},"1.0.1":{"name":"stream-array","version":"1.0.1","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.1.0","fastqueue":"~0.1.0"},"devDependencies":{"concat-stream":"~1.4.6","tape":"~3.0.2"},"scripts":{"test":"tape ./test/*","coverage":"covert ./test/*"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["array","readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/3.5","firefox/latest","firefox/nightly","chrome/10","chrome/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"]},"engines":["node >= 0.8.0"],"gitHead":"dcc9e4152d9296a58fb4799f61a30c15f464a121","homepage":"https://github.com/mimetnet/node-stream-array","_id":"stream-array@1.0.1","_shasum":"6dd745d305fc3648855f48ff7a7a9edac0cb5a08","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"dist":{"shasum":"6dd745d305fc3648855f48ff7a7a9edac0cb5a08","size":3259,"noattachment":false,"key":"/stream-array/-/stream-array-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-1.0.1.tgz"},"publish_time":1415567459021,"_cnpm_publish_time":1415567459021,"_hasShrinkwrap":false},"1.0.0":{"name":"stream-array","version":"1.0.0","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.1.0","fastqueue":"~0.1.0"},"devDependencies":{"tap":"~0.4.0","concat-stream":"~1.4.0"},"scripts":{"test":"tap ./test/"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"engines":["node >= 0.8.0"],"gitHead":"fa435d4fa4283885927be66d79b07e2c8c81d0df","homepage":"https://github.com/mimetnet/node-stream-array","_id":"stream-array@1.0.0","_shasum":"0227f738cd44907f207d33d8a0ba370dab7c3d71","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"dist":{"shasum":"0227f738cd44907f207d33d8a0ba370dab7c3d71","size":2805,"noattachment":false,"key":"/stream-array/-/stream-array-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-1.0.0.tgz"},"publish_time":1414939295993,"_cnpm_publish_time":1414939295993,"_hasShrinkwrap":false},"0.1.3":{"name":"stream-array","version":"0.1.3","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.1.0","fastqueue":"~0.1.0"},"devDependencies":{"tap":"~0.4.0","concat-stream":"~1.0.0"},"scripts":{"test":"./node_modules/.bin/tap ./test/"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"engines":["node >= 0.8.0"],"readmeFilename":"README.md","_id":"stream-array@0.1.3","dist":{"shasum":"6e374e89c9aaa1aa489951c07011f245611fc98b","size":2683,"noattachment":false,"key":"/stream-array/-/stream-array-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"publish_time":1377663046066,"_cnpm_publish_time":1377663046066,"_hasShrinkwrap":false},"0.1.2":{"name":"stream-array","version":"0.1.2","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.0.0","fastqueue":"~0.1.0"},"devDependencies":{"tap":"~0.4.0","concat-stream":"~1.0.0"},"scripts":{"test":"./node_modules/.bin/tap ./test/"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"engines":["node >= 0.8.0"],"readmeFilename":"README.md","_id":"stream-array@0.1.2","dist":{"shasum":"b5c0466d21f504e39d5463fd59fa7d225642c88d","size":2681,"noattachment":false,"key":"/stream-array/-/stream-array-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-0.1.2.tgz"},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"publish_time":1370297619440,"_cnpm_publish_time":1370297619440,"_hasShrinkwrap":false},"0.1.1":{"name":"stream-array","version":"0.1.1","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":"~1.0.0","fastqueue":"~0.1.0"},"devDependencies":{"tap":"~0.4.0","concat-stream":"~1.0.0"},"scripts":{"test":"./node_modules/.bin/tap ./test/"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"engines":["node >= 0.8.0"],"readmeFilename":"README.md","_id":"stream-array@0.1.1","dist":{"shasum":"1ebc1ccda83cf4ed3715b9187f7ac032aeb76f31","size":2681,"noattachment":false,"key":"/stream-array/-/stream-array-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"publish_time":1370297372823,"_cnpm_publish_time":1370297372823,"_hasShrinkwrap":false},"0.1.0":{"name":"stream-array","version":"0.1.0","description":"Pipe an Array through Node.js streams","dependencies":{"readable-stream":">= 1.0.0"},"devDependencies":{"tap":">= 0.4.0","concat-stream":">= 0.1.1"},"scripts":{"test":"./node_modules/.bin/tap ./test/"},"repository":{"type":"git","url":"https://github.com/mimetnet/node-stream-array"},"bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"keywords":["readable","stream","pipe"],"author":{"name":"Matthew I. Metnetsky","email":"matthew@cowarthill.com"},"license":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"main":"index.js","directories":{"test":"test"},"engines":["node >= 0.8.0"],"readmeFilename":"README.md","_id":"stream-array@0.1.0","dist":{"shasum":"e18989c435e4b8affccc9b4bf5d1febc0c618e1d","size":2232,"noattachment":false,"key":"/stream-array/-/stream-array-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-array/download/stream-array-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"mimetnet","email":"matthew@cowarthill.com"},"maintainers":[{"name":"mimetnet","email":"matthew@cowarthill.com"}],"publish_time":1369093431846,"_cnpm_publish_time":1369093431846,"_hasShrinkwrap":false}},"readme":"# stream-array\n\nPipe an Array through Node.js [Streams][12]. This is rather useful for testing\nother streams.\n\n[![npm version][1]][2]\n[![build status][3]][4]\n[![dependencies][5]][6]\n[![devDependencies][7]][8]\n[![Inch CI][16]][17]\n\n[//]: [![testling][9]][10]\n\n\n## Usage\n\n```js\nvar streamify = require('stream-array'),\n    os = require('os');\n\nstreamify(['1', '2', '3', os.EOL]).pipe(process.stdout);\n```\n\n\n## API\n\n#### streamify(Array)\nThe result of [require][13] is a 'function()' that when invoked, will return a\n[Readable][11] [Stream][12].\n\n```\nvar streamify = require('stream-array');\n```\n\nThe source array can contain any type as it is assumed that the receiving\nstream can handle it. Each element in the array will be [pushed][14] into the\n[piped][15] stream, **without** modifying the source array.\n\n```\nvar readable = streamify(['Hello', new Buffer('World')]);\n```\n\nThis [Stream][12] will [push][14] each element of the source array into the\n[piped][15] array.\n\n```\nreadable(['1', '2', '3', os.EOL]).pipe(process.stdout);\n```\n\n```\n123\\n\n```\n\n## Install\n\n```sh\nnpm install stream-array\n```\n\n  [1]: https://badge.fury.io/js/stream-array.svg\n  [2]: https://badge.fury.io/js/stream-array\n  [3]: https://api.travis-ci.org/mimetnet/node-stream-array.svg\n  [4]: https://travis-ci.org/mimetnet/node-stream-array\n  [5]: https://david-dm.org/mimetnet/node-stream-array.svg\n  [6]: https://david-dm.org/mimetnet/node-stream-array\n  [7]: https://david-dm.org/mimetnet/node-stream-array/dev-status.svg?#info=devDependencies\n  [8]: https://david-dm.org/mimetnet/node-stream-array/#info=devDependencies\n  [//]: https://ci.testling.com/mimetnet/node-stream-array.png\n  [//]: https://ci.testling.com/mimetnet/node-stream-array\n  [11]: http://nodejs.org/api/stream.html#stream_class_stream_readable\n  [12]: http://nodejs.org/api/stream.html#stream_stream\n  [13]: http://nodejs.org/api/globals.html#globals_require\n  [14]: https://nodejs.org/api/stream.html#stream_readable_push_chunk_encoding\n  [15]: https://nodejs.org/api/stream.html#stream_readable_pipe_destination_options\n  [16]: https://inch-ci.org/github/mimetnet/node-stream-array.svg?branch=master\n  [17]: http://inch-ci.org/github/mimetnet/node-stream-array\n\n## License\n\n[MIT License](https://github.com/mimetnet/node-stream-array/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/mimetnet/node-stream-array","bugs":{"url":"https://github.com/mimetnet/node-stream-array/issues"},"license":"MIT"}