{"_id":"from2-array","_rev":"4579247","name":"from2-array","description":"Create a from2 stream based on an array of source values","dist-tags":{"latest":"0.0.4"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"time":{"modified":"2026-04-10T15:54:08.000Z","created":"2014-04-21T11:54:38.629Z","0.0.4":"2015-07-06T11:03:09.130Z","0.0.3":"2014-08-07T20:28:43.443Z","0.0.2":"2014-04-21T11:54:38.629Z"},"users":{},"author":{"name":"Kai Davenport"},"repository":{"type":"git","url":"https://github.com/binocarlos/from2-array.git"},"versions":{"0.0.4":{"name":"from2-array","version":"0.0.4","description":"Create a from2 stream based on an array of source values","main":"index.js","scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"repository":{"type":"git","url":"https://github.com/binocarlos/from2-array.git"},"keywords":["stream","streams2","from","source","readable"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/from2-array/issues"},"homepage":"https://github.com/binocarlos/from2-array","dependencies":{"from2":"^2.0.3"},"devDependencies":{"tape":"^4.0.0","through2":"^2.0.0"},"gitHead":"1905ce6b2e563c9c16b6e01d65ff84827462a77e","_id":"from2-array@0.0.4","_shasum":"eafc16b65f6e2719bcd57fdc1869005ac1332cd6","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"dist":{"shasum":"eafc16b65f6e2719bcd57fdc1869005ac1332cd6","size":2161,"noattachment":false,"key":"/from2-array/-/from2-array-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-array/download/from2-array-0.0.4.tgz"},"directories":{},"publish_time":1436180589130,"_hasShrinkwrap":false,"_cnpm_publish_time":1436180589130,"_cnpmcore_publish_time":"2021-12-16T18:17:15.752Z"},"0.0.3":{"name":"from2-array","version":"0.0.3","description":"Create a from2 stream based on an array of source values","main":"index.js","scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"repository":{"type":"git","url":"https://github.com/binocarlos/from2-array.git"},"keywords":["stream","streams2","from","source","readable"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/from2-array/issues"},"homepage":"https://github.com/binocarlos/from2-array","devDependencies":{"tape":"^2.12.3","through2":"^0.4.1"},"dependencies":{"from2":"^1.2.0"},"gitHead":"02d47be6cb78da8974905dffc1a84cc18b77f7f3","_id":"from2-array@0.0.3","_shasum":"68e03fe61f827583ad61eb303d4add9e1947e9ed","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"dist":{"shasum":"68e03fe61f827583ad61eb303d4add9e1947e9ed","size":2192,"noattachment":false,"key":"/from2-array/-/from2-array-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-array/download/from2-array-0.0.3.tgz"},"directories":{},"publish_time":1407443323443,"_hasShrinkwrap":false,"_cnpm_publish_time":1407443323443,"_cnpmcore_publish_time":"2021-12-16T18:17:15.960Z"},"0.0.2":{"name":"from2-array","version":"0.0.2","description":"Create a from2 stream based on an array of source values","main":"index.js","scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"repository":{"type":"git","url":"https://github.com/binocarlos/from2-array.git"},"keywords":["stream","streams2","from","source","readable"],"author":{"name":"Kai Davenport"},"license":"MIT","bugs":{"url":"https://github.com/binocarlos/from2-array/issues"},"homepage":"https://github.com/binocarlos/from2-array","devDependencies":{"tape":"^2.12.3","through2":"^0.4.1"},"dependencies":{"from2":"^0.0.0"},"_id":"from2-array@0.0.2","dist":{"shasum":"739f5f865c6eb3af77c2bbb3435e8162f87ec05e","size":2184,"noattachment":false,"key":"/from2-array/-/from2-array-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/from2-array/download/from2-array-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"binocarlos","email":"kaiyadavenport@gmail.com"},"maintainers":[{"name":"binocarlos","email":"kaiyadavenport@gmail.com"}],"directories":{},"publish_time":1398081278629,"_hasShrinkwrap":false,"_cnpm_publish_time":1398081278629,"_cnpmcore_publish_time":"2021-12-16T18:17:16.199Z"}},"readme":"from2-array\n===========\n\n[![NPM](https://nodei.co/npm/from2-array.png?global=true)](https://nodei.co/npm/from2-array/)\n\n[![Travis](http://img.shields.io/travis/binocarlos/from2-array.svg?style=flat)](https://travis-ci.org/binocarlos/from2-array)\n\nCreate a [from2](https://github.com/hughsk/from2) stream based on an array of source values\n\nUseful when you want to create a Readable stream with some values you already have in an array\n\n## example\n\n```js\nvar from = require('from2-array')\nvar through = require('through2')\n\nfrom.obj([{\n  name:'a'\n},{\n  name:'b'\n},{\n  name:'c'\n}]).pipe(through.obj(function(chunk, enc, cb){\n\tconsole.log('found: ' + chunk.name)\n\tcb()\n}))\n\n```\n\n## license\n\nMIT","_attachments":{},"homepage":"https://github.com/binocarlos/from2-array","bugs":{"url":"https://github.com/binocarlos/from2-array/issues"},"license":"MIT"}