{"name":"async-each","description":"No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.","version":"1.0.1","license":"MIT","keywords":["async","forEach","each","map","asynchronous","iteration","iterate","loop","parallel","concurrent","array","flow","control flow"],"homepage":"https://github.com/paulmillr/async-each/","author":{"name":"Paul Miller","url":"http://paulmillr.com/"},"repository":{"type":"git","url":"git://github.com/paulmillr/async-each.git"},"main":"index.js","dependencies":{},"gitHead":"f2342d85633d0dc1034a49387ca01c08c1189823","bugs":{"url":"https://github.com/paulmillr/async-each/issues"},"_id":"async-each@1.0.1","scripts":{},"_shasum":"19d386a1d9edc6e7c1c85d388aedbcc56d33602d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"},{"name":"es128","email":"elan.shanker+npm@gmail.com"}],"dist":{"shasum":"19d386a1d9edc6e7c1c85d388aedbcc56d33602d","tarball":"http://registry-npm.ywwl.com/async-each/download/async-each-1.0.1.tgz","integrity":"sha512-STDwmg+1mv249vNFx+s+sF4HrdLxlF5Z6L4npilrkgchWPEuW4X13gKzSJq51qJy9InOgwmPepgfMb9/Qu0fSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+IxKFiKjYzY1XgPDfRjiL44/M9cV0PCgLF7Ka1Z6s1wIhAPpUoQ7j9KhjgEGpnPuilumgHvKVohsKojz/AhrSgVWO"}],"size":1791,"noattachment":false,"key":"/async-each/-/async-each-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/async-each-1.0.1.tgz_1472080935649_0.032988218357786536"},"directories":{},"readme":"# async-each\n\nNo-bullshit, ultra-simple, 40-lines-of-code async parallel forEach function for JavaScript.\n\nWe don't need junky 30K async libs. Really.\n\nFor browsers and node.js.\n\n## Usage\n\n`npm install async-each` if you're using NPM.\n\nFor browsers, just include async-each before your scripts and use global variable `asyncEach`\n\n* `each(array, iterator, callback)` — `Array`, `Function`, `(optional) Function`\n* `iterator(item, next)` receives current item and a callback that will mark the item as done. `next` callback receives optional `error, transformedItem` arguments.\n* `callback(error, transformedArray)` optionally receives first error and transformed result `Array`.\n\n```javascript\nvar each = require('async-each');\neach(['a.js', 'b.js', 'c.js'], fs.readFile, function(error, contents) {\n  if (error) console.error(error);\n  console.log('Contents for a, b and c:', contents);\n});\n\nasyncEach(list, fn, callback); // use global var in browser\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Paul Miller [(paulmillr.com)](https://paulmillr.com)\n\nSee [LICENSE](https://github.com/paulmillr/async-each/blob/master/LICENSE) file.\n","publish_time":1472080937631,"_cnpm_publish_time":1472080937631,"dist-tags":{"latest":"1.0.6"}}