{"_id":"async-iterable-stream","_rev":"401846","name":"async-iterable-stream","description":"A readable async stream which can be iterated over using a for-await-of loop.","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"time":{"modified":"2021-08-04T04:33:38.000Z","created":"2018-11-18T17:15:40.681Z","4.0.0":"2019-01-17T07:50:09.230Z","3.0.1":"2018-12-09T17:46:13.061Z","3.0.0":"2018-12-08T23:29:49.696Z","2.1.0":"2018-12-08T16:09:00.736Z","2.0.3":"2018-12-06T00:25:17.510Z","2.0.2":"2018-12-06T00:19:14.057Z","2.0.1":"2018-12-05T23:08:29.309Z","2.0.0":"2018-12-05T22:57:43.335Z","1.2.1":"2018-12-02T13:16:20.031Z","1.2.0":"2018-11-20T08:10:58.861Z","1.1.0":"2018-11-19T23:27:29.548Z","1.0.3":"2018-11-19T00:56:39.368Z","1.0.2":"2018-11-19T00:36:43.808Z","1.0.1":"2018-11-18T17:55:56.570Z","1.0.0":"2018-11-18T17:15:40.681Z"},"users":{},"author":{"name":"Jonathan Gros-Dubois"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"versions":{"4.0.0":{"name":"async-iterable-stream","version":"4.0.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"082def4bdd069ed0a02ce601c7ae276821eb9ca6","_id":"async-iterable-stream@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"e1bf6919bdb6b19fd668604bf584af1d835ca3c5","size":2861,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-4.0.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_4.0.0_1547711409139_0.03436011827213381"},"_hasShrinkwrap":false,"publish_time":1547711409230,"_cnpm_publish_time":1547711409230},"3.0.1":{"name":"async-iterable-stream","version":"3.0.1","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"cd1874db4cbecbd5960649756993d489c73159b7","_id":"async-iterable-stream@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"e7fab0467c588450ce0456dd37b87d45d1f2b3ad","size":2852,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-3.0.1.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_3.0.1_1544377572937_0.2211266583845024"},"_hasShrinkwrap":false,"publish_time":1544377573061,"_cnpm_publish_time":1544377573061},"3.0.0":{"name":"async-iterable-stream","version":"3.0.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"3e03c43adf9acfc1d771fcf73425e2d19e20cefb","_id":"async-iterable-stream@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"8441e372b5935dde0033668486c7af3e78fbe46d","size":2849,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-3.0.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_3.0.0_1544311789569_0.7548833974427875"},"_hasShrinkwrap":false,"publish_time":1544311789696,"_cnpm_publish_time":1544311789696},"2.1.0":{"name":"async-iterable-stream","version":"2.1.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"4145f82d5641535f29ecda78e1a7215668875e30","_id":"async-iterable-stream@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"119789ab98b5dfe773fa13d61db404ac2f6ff672","size":3165,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-2.1.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_2.1.0_1544285340603_0.42169621119264233"},"_hasShrinkwrap":false,"publish_time":1544285340736,"_cnpm_publish_time":1544285340736},"2.0.3":{"name":"async-iterable-stream","version":"2.0.3","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"49a7e8a12d3261e9d511b971de041bf8d802d134","_id":"async-iterable-stream@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"9e175a55812baaf1cb324ef7b8bd1a5b7f1d1637","size":2824,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-2.0.3.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_2.0.3_1544055916460_0.7365654667994059"},"_hasShrinkwrap":false,"publish_time":1544055917510,"_cnpm_publish_time":1544055917510},"2.0.2":{"name":"async-iterable-stream","version":"2.0.2","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"0e3070ffb779b3c5f6bd4827933e0893cb8e0e82","_id":"async-iterable-stream@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"f5016327277d3ada3da133816c35d5737ebd5489","size":2871,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-2.0.2.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_2.0.2_1544055553870_0.6830285157897797"},"_hasShrinkwrap":false,"publish_time":1544055554057,"_cnpm_publish_time":1544055554057},"2.0.1":{"name":"async-iterable-stream","version":"2.0.1","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"df1e8125fa91e27d08746c00e63946e33a428ee7","_id":"async-iterable-stream@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"47d431a05a93106f285dc5a3d59631ed0404c318","size":2889,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-2.0.1.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_2.0.1_1544051309096_0.3843183429988344"},"_hasShrinkwrap":false,"publish_time":1544051309309,"_cnpm_publish_time":1544051309309},"2.0.0":{"name":"async-iterable-stream","version":"2.0.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"678af15ece6526fdb3e1494bb929fd9e7f6a7696","_id":"async-iterable-stream@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"50d1cd00d0956fd44c049ac8059f5fb713390df3","size":2980,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-2.0.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_2.0.0_1544050663220_0.7167449898534883"},"_hasShrinkwrap":false,"publish_time":1544050663335,"_cnpm_publish_time":1544050663335},"1.2.1":{"name":"async-iterable-stream","version":"1.2.1","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"433fe14b8010cf2681a222f2eb96f32ced9f22cd","_id":"async-iterable-stream@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"cae214fb94e5375cdcc6c8f815b5645e5449ab57","size":2742,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.2.1.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.2.1_1543756579793_0.32390503700801165"},"_hasShrinkwrap":false,"publish_time":1543756580031,"_cnpm_publish_time":1543756580031},"1.2.0":{"name":"async-iterable-stream","version":"1.2.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"db5ceb02753d330197872945f0828b2aefcfe51d","_id":"async-iterable-stream@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"1dc1cb4d103e3e868e2c1372a20c54b95e24a161","size":2743,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.2.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.2.0_1542701458672_0.021745187621989404"},"_hasShrinkwrap":false,"publish_time":1542701458861,"_cnpm_publish_time":1542701458861},"1.1.0":{"name":"async-iterable-stream","version":"1.1.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"97a40bc6ff4d51c61e6268f9d68814b1b3f1e80a","_id":"async-iterable-stream@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"b74236faa1e777c4fbfee330ca60c63ce63800ba","size":2709,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.1.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.1.0_1542670049424_0.2836179282775402"},"_hasShrinkwrap":false,"publish_time":1542670049548,"_cnpm_publish_time":1542670049548},"1.0.3":{"name":"async-iterable-stream","version":"1.0.3","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"c7053b40827f8a4f48331ad0efc331b5f4848b4f","_id":"async-iterable-stream@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"c60657a0ef387d8e875eac9b80a62100b3242aef","size":2526,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.0.3.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.0.3_1542588999270_0.8611098663756209"},"_hasShrinkwrap":false,"publish_time":1542588999368,"_cnpm_publish_time":1542588999368},"1.0.2":{"name":"async-iterable-stream","version":"1.0.2","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha --reporter spec --timeout 10000 --slow 10000"},"repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"044506441cd9f5603e528a348e5f6d241a10bd2b","_id":"async-iterable-stream@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"cbba3feebb8fa3e64da7ce60bb64d821fbff3fcf","size":2275,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.0.2.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.0.2_1542587803715_0.16601255576532425"},"_hasShrinkwrap":false,"publish_time":1542587803808,"_cnpm_publish_time":1542587803808},"1.0.1":{"name":"async-iterable-stream","version":"1.0.1","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"6b7729eb4a44f81c99a033950c42f13cf0ae0629","_id":"async-iterable-stream@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"677bd00f836b2381c4d0ee73f517d5efc750c4fd","size":1306,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.0.1.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.0.1_1542563756382_0.09413274331927735"},"_hasShrinkwrap":false,"publish_time":1542563756570,"_cnpm_publish_time":1542563756570},"1.0.0":{"name":"async-iterable-stream","version":"1.0.0","description":"A readable async stream which can be iterated over using a for-await-of loop.","main":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/SocketCluster/async-iterable-stream.git"},"keywords":["async","generator","stream","data","for-await-of"],"author":{"name":"Jonathan Gros-Dubois"},"license":"MIT","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","devDependencies":{"mocha":"^5.2.0"},"gitHead":"acc65f515f115ad91c6238c4962d917763e90020","_id":"async-iterable-stream@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"},"dist":{"shasum":"f37ca55cccadfaa4595d9c84d3331d52e86d7956","size":1312,"noattachment":false,"key":"/async-iterable-stream/-/async-iterable-stream-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-iterable-stream/download/async-iterable-stream-1.0.0.tgz"},"maintainers":[{"name":"topcloudsystems","email":"grosjona@yahoo.com.au"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-iterable-stream_1.0.0_1542561340551_0.4555317922168849"},"_hasShrinkwrap":false,"publish_time":1542561340681,"_cnpm_publish_time":1542561340681}},"readme":"# async-iterable-stream\nA readable stream which can be iterated over using a for-await-of loop or using a while loop with await inside.\n\nThe `AsyncIterableStream` constructor is an abstract class which must be subclassed. Its `next()` and `createAsyncIterator()` methods must be overriden.\n\nFor a concrete subclass of `AsyncIterableStream`, see `WritableAsyncIterableStream`: https://github.com/SocketCluster/writable-async-iterable-stream\n\n## Installation\n\n```\nnpm install async-iterable-stream\n```\n\n## Usage\n\nThe `AsyncIterableStream` class exposes the following methods:\n\n- `[Symbol.asyncIterator]`: Makes the instance iterable using a for-await-of loop.\n- `next`: Returns a `Promise` which will resolve an object in the form `{value: data, done: boolean}` whenever some data is received or when the stream ends.\n- `once`: Similar to `next()` except that the resolved value will be the raw data and it will not resolve when the stream ends. Note that once `once()` is called, it cannot be cancelled; the affected closure will stay in memory until either `once()` resolves or until the stream is ended or garbage collected.\n\n```js\n// Consume data objects from asyncIterableStream as they are written to the stream.\n(async () => {\n  for await (let data of asyncIterableStream) {\n    console.log(data);\n  }\n})();\n\n// Consume only the next data object which is written to the stream.\n(async () => {\n  let data = await asyncIterableStream.once();\n  console.log(data);\n})();\n```\n","_attachments":{},"homepage":"https://github.com/SocketCluster/async-iterable-stream#readme","bugs":{"url":"https://github.com/SocketCluster/async-iterable-stream/issues"},"license":"MIT"}