{"_id":"map-stream","_rev":"48397","name":"map-stream","description":"construct pipes of streams of events","dist-tags":{"latest":"0.0.7"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"time":{"modified":"2023-03-20T07:54:27.000Z","created":"2012-08-18T13:07:33.660Z","0.0.7":"2017-03-19T21:01:03.799Z","0.0.6":"2015-06-27T10:15:50.133Z","0.0.5":"2014-11-03T17:03:20.755Z","0.1.0":"2014-01-09T07:15:35.544Z","0.0.4":"2013-12-07T02:05:06.804Z","0.0.3":"2013-09-24T03:42:27.320Z","0.0.2":"2013-01-17T04:54:50.995Z","0.0.1":"2012-08-18T13:07:33.660Z"},"users":{},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"versions":{"0.0.7":{"name":"map-stream","version":"0.0.7","license":"MIT","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"gitHead":"70794870aab81a7081be50eab59f6789253368da","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"_id":"map-stream@0.0.7","_shasum":"8a1f07896d82b10926bd3744a2420009f88974a8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"8a1f07896d82b10926bd3744a2420009f88974a8","size":5056,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.7.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.7.tgz"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/map-stream-0.0.7.tgz_1489957259545_0.018230291781947017"},"directories":{},"publish_time":1489957263799,"_cnpm_publish_time":1489957263799,"_hasShrinkwrap":false},"0.0.6":{"name":"map-stream","version":"0.0.6","license":"MIT","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"gitHead":"f9da31c7a60a60ae4e77bcf6f6f87dff1d44895f","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"_id":"map-stream@0.0.6","_shasum":"d2ef4eb811a28644c7a8989985c69c2fdd496827","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.1","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"dist":{"shasum":"d2ef4eb811a28644c7a8989985c69c2fdd496827","size":5485,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.6.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.6.tgz"},"directories":{},"publish_time":1435400150133,"_cnpm_publish_time":1435400150133,"_hasShrinkwrap":false},"0.0.5":{"name":"map-stream","version":"0.0.5","license":"MIT","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"gitHead":"336f8ecdce81f5c66001646871ca73584879b419","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"_id":"map-stream@0.0.5","_shasum":"80ffe0f588da32bf006b7f12d9197c5b8725df1c","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"dist":{"shasum":"80ffe0f588da32bf006b7f12d9197c5b8725df1c","size":5073,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.5.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.5.tgz"},"directories":{},"publish_time":1415034200755,"_cnpm_publish_time":1415034200755,"_hasShrinkwrap":false},"0.1.0":{"name":"map-stream","version":"0.1.0","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"readmeFilename":"readme.markdown","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"_id":"map-stream@0.1.0","dist":{"shasum":"e56aa94c4c8055a16404a0674b78f215f7c8e194","size":5052,"noattachment":false,"key":"/map-stream/-/map-stream-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1389251735544,"_hasShrinkwrap":false,"_cnpm_publish_time":1389251735544},"0.0.4":{"name":"map-stream","version":"0.0.4","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"readmeFilename":"readme.markdown","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"_id":"map-stream@0.0.4","dist":{"shasum":"5ec6de90213ef6c7b2eb9367e9ade8da4efdb68b","size":4803,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.4.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1386381906804,"_hasShrinkwrap":false,"_cnpm_publish_time":1386381906804},"0.0.3":{"name":"map-stream","version":"0.0.3","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"readmeFilename":"readme.markdown","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"_id":"map-stream@0.0.3","dist":{"shasum":"94759c696083c312b3fc3a299e1c64a0423ef1ae","size":4809,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.3.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1379994147320,"_hasShrinkwrap":false,"_cnpm_publish_time":1379994147320},"0.0.2":{"name":"map-stream","version":"0.0.2","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"readmeFilename":"readme.markdown","_id":"map-stream@0.0.2","dist":{"shasum":"2fb8d4063cc58eec6953bfab1b2f44271d1c8765","size":4460,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.2.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.2.tgz"},"_npmVersion":"1.1.70","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1358398490995,"_hasShrinkwrap":false,"_cnpm_publish_time":1358398490995},"0.0.1":{"name":"map-stream","version":"0.0.1","description":"construct pipes of streams of events","homepage":"http://github.com/dominictarr/map-stream","repository":{"type":"git","url":"git://github.com/dominictarr/map-stream.git"},"dependencies":{},"devDependencies":{"asynct":"*","it-is":"1","ubelt":"~2.9","stream-spec":"~0.2","event-stream":"~2.1","from":"0.0.2"},"scripts":{"test":"asynct test/"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"_id":"map-stream@0.0.1","dist":{"shasum":"7fd2a254f97e9272aa634717bfc3e73c0662afaa","size":4575,"noattachment":false,"key":"/map-stream/-/map-stream-0.0.1.tgz","tarball":"http://name.csiicloud.com:7001/map-stream/download/map-stream-0.0.1.tgz"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1345295253660,"_hasShrinkwrap":false,"_cnpm_publish_time":1345295253660}},"readme":"# MapStream\n\nRefactored out of [event-stream](https://github.com/dominictarr/event-stream)\n\n##map (asyncFunction[, options])\n\nCreate a through stream from an asyncronous function.  \n\n``` js\nvar map = require('map-stream')\n\nmap(function (data, callback) {\n  //transform data\n  // ...\n  callback(null, data)\n})\n\n```\n\nEach map MUST call the callback. It may callback with data, with an error or with no arguments, \n\n  * `callback()` drop this data.  \n    this makes the map work like `filter`,  \n    note:`callback(null,null)` is not the same, and will emit `null`\n\n  * `callback(null, newData)` turn data into newData\n    \n  * `callback(error)` emit an error for this item.\n\n>Note: if a callback is not called, `map` will think that it is still being processed,   \n>every call must be answered or the stream will not know when to end.  \n>\n>Also, if the callback is called more than once, every call but the first will be ignored.\n\n##Options \n\n * `failures` - `boolean` continue mapping even if error occured. On error `map-stream` will emit `failure` event. (default: `false`)\n","_attachments":{},"homepage":"http://github.com/dominictarr/map-stream","bugs":{"url":"https://github.com/dominictarr/map-stream/issues"},"license":"MIT"}