{"dist":{"shasum":"093b32ce868cb69f5166dcf331fae074adc71cee","tarball":"https://registry.npmjs.org/forEachAsync/-/forEachAsync-2.2.0.tgz","integrity":"sha512-0Bc//6Hz+K/Wx+wc7bDTm5QluoTT1wi6hO3sE+EvNhyplz3IZmIa23z6AzAVgz+5Q0gXQNqAkJePa/kN0BVFNQ==","signatures":[{"sig":"MEQCIBabfdnDQ0G9J1W5s8uXIttOysWfbbsrZFdcJN2xWzr8AiA/xW+UPgSgN9FjS8LuDV1a4GNBBel0QGyEYqnpoNkgcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"forEachAsync.js","name":"forEachAsync","author":{"url":"http://coolaj86.info","name":"AJ ONeal","email":"coolaj86@gmail.com"},"readme":"Array.forEachAsync()\n----\n\nAnother reincarnation of `sequence` that makes sense for the use case of arrays.\n\n**Example:**\n\n    var forEachAsync = require('forEachAsync')\n      , count = 0\n      , timers = [\n          101,\n          502,\n          203,\n          604,\n          105\n        ];\n\n    function hello(next, time) {\n      this[count] = time;\n\n      if (count >= 4) {\n        next(forEachAsync.BREAK);\n      }\n\n      console.log(count += 1, time);\n\n      setTimeout(next, time);\n    }\n\n    function goodbye() {\n      console.log(\"All Done\", this);\n    }\n\n    forEachAsync(timers, hello, {}).then(goodbye);\n\nAPI\n---\n\n  * forEachAsync(array, callback*[, thisArg]*)\n  * forEachAsync#then(finalCallback)\n  * forEachAsync#BREAK\n\n**Warning:** [Poorly written code](https://gist.github.com/941362) may have really strange errors when `Array.prototype` is extended.\nIf you run into such problems please contact the author of the code (I'm also willing to help if they are unavailable).\nLibraries such as `jQuery` or `MooTools` will accept bug reports for such failures.\n\n","engines":{"node":"*","ender":">= 0.5.0"},"_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"homepage":"https://github.com/coolaj86/futures","keywords":["flow-control","async","asynchronous","futures","forEachAsync","chain","step","util","browser"],"deprecated":"Please use 'foreachasync' instead. See https://www.npmjs.com/package/foreachasync","repository":{"url":"git://github.com/coolaj86/futures.git","type":"git"},"_npmVersion":"1.1.24","description":"The forEachAsync module of FuturesJS (Ender.JS and Node.JS)","directories":{"lib":"."},"maintainers":[{"name":"coolaj86","email":"coolaj86@gmail.com"}],"_nodeVersion":"v0.6.19","dependencies":{"sequence":">= 2.2.1"},"_defaultsLoaded":true,"devDependencies":{},"_engineSupported":true,"optionalDependencies":{},"_id":"forEachAsync@2.2.0","version":"2.2.0"}