{"bugs":{"url":"https://github.com/coolaj86/futures/issues"},"dist":{"shasum":"e3723f00903910e1eb4b1db3ad51b5c64a319fec","tarball":"https://registry.npmjs.org/forEachAsync/-/forEachAsync-2.2.1.tgz","integrity":"sha512-467afhqYkLqbcPcn7FWYetAhMjhni8J59KfSUmsIatdp17l3yzUpod42kGPcDULRyEciQjmeFEjQDMU4USF7uA==","signatures":[{"sig":"MEQCIDWjVdlzNyRBUO5n1VfyfhzAq02gxSQzc78y/aHuQxYrAiBx6AAs1zKEarxvxFpdbi+GvmTPvvV0vrDddKE8/MbCpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"forEachAsync.js","name":"forEachAsync","_from":"./","author":{"url":"http://coolaj86.info","name":"AJ ONeal","email":"coolaj86@gmail.com"},"readme":"forEachAsync v3.x\n===\n\n**New Version** in a [new repo - FuturesJS/forEachAsync](https://github.com/FuturesJS/forEachAsync)\n\nv3.x (aka 'Diet Cola\") has all of the awesomeness of forEachAsync v2.x, but trims the fat and comes browser-ready!\n\nArray.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.3.11","description":"The forEachAsync module of FuturesJS (Ender.JS and Node.JS)","directories":{"lib":"."},"maintainers":[{"name":"coolaj86","email":"coolaj86@gmail.com"}],"dependencies":{"sequence":"2.x"},"readmeFilename":"README.md","_id":"forEachAsync@2.2.1","version":"2.2.1"}