{"_id":"each-series-async","_rev":"410188","name":"each-series-async","description":"Asynchronously calls a function on each element in an array in series.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-08-04T05:05:40.000Z","created":"2017-09-10T23:47:21.986Z","1.0.1":"2017-09-10T23:52:57.540Z","1.0.0":"2017-09-10T23:47:21.986Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/each-series-async.git"},"versions":{"1.0.1":{"name":"each-series-async","description":"Asynchronously calls a function on each element in an array in series.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/each-series-async","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/each-series-async.git"},"bugs":{"url":"https://github.com/jonschlinkert/each-series-async/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.0"},"keywords":["array","async","callback","each","forEach","iterate","iterator","series"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["arr-flatten","arr-reduce","array-unique","async-array-reduce"]},"lint":{"reflinks":true}},"gitHead":"49ba4a0fa90264597f93bb51649c82f206e7a4ef","_id":"each-series-async@1.0.1","_npmVersion":"5.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"7e3f8dfa5af934663960e5a17561362909b34328","size":2732,"noattachment":false,"key":"/each-series-async/-/each-series-async-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/each-series-async/download/each-series-async-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/each-series-async-1.0.1.tgz_1505087576561_0.7511218891013414"},"directories":{},"publish_time":1505087577540,"_hasShrinkwrap":false,"_cnpm_publish_time":1505087577540},"1.0.0":{"name":"each-series-async","description":"Asynchronously calls a function on each element in an array in series.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/each-series-async","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/each-series-async.git"},"bugs":{"url":"https://github.com/jonschlinkert/each-series-async/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.0"},"keywords":["array","async","callback","each","forEach","iterate","iterator","series"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["arr-flatten","arr-reduce","array-unique","async-array-reduce"]},"lint":{"reflinks":true}},"gitHead":"43d9425cac962e158c61c4c185b3b4878c00454e","_id":"each-series-async@1.0.0","_npmVersion":"5.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b53e34a75e9d5fdb060cfb72a2ed9ce76ad1ef4f","size":2744,"noattachment":false,"key":"/each-series-async/-/each-series-async-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/each-series-async/download/each-series-async-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/each-series-async-1.0.0.tgz_1505087241068_0.8026050706394017"},"directories":{},"publish_time":1505087241986,"_hasShrinkwrap":false,"_cnpm_publish_time":1505087241986}},"readme":"# each-series-async [![NPM version](https://img.shields.io/npm/v/each-series-async.svg?style=flat)](https://www.npmjs.com/package/each-series-async) [![NPM monthly downloads](https://img.shields.io/npm/dm/each-series-async.svg?style=flat)](https://npmjs.org/package/each-series-async) [![NPM total downloads](https://img.shields.io/npm/dt/each-series-async.svg?style=flat)](https://npmjs.org/package/each-series-async) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/each-series-async.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/each-series-async)\n\n> Asynchronously calls a function on each element in an array in series.\n\nFollow this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), for updates on this project and others.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save each-series-async\n```\n\n## Usage\n\n```js\nvar each = require('each-series-async');\nvar result = [];\n\neach([1, 2, 3, 4, 5, 6], function(ele, next) {\n  result.push(ele * (i + 1));\n  next();\n}, function (err) {\n  console.log(result);\n  //=> [ 1, 4, 9, 16, 25, 36 ]\n});\n```\n\n## About\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. | [homepage](https://github.com/jonschlinkert/arr-flatten \"Recursively flatten an array or arrays.\")\n* [arr-reduce](https://www.npmjs.com/package/arr-reduce): Fast array reduce that also loops over sparse elements. | [homepage](https://github.com/jonschlinkert/arr-reduce \"Fast array reduce that also loops over sparse elements.\")\n* [array-unique](https://www.npmjs.com/package/array-unique): Remove duplicate values from an array. Fastest ES5 implementation. | [homepage](https://github.com/jonschlinkert/array-unique \"Remove duplicate values from an array. Fastest ES5 implementation.\")\n* [async-array-reduce](https://www.npmjs.com/package/async-array-reduce): Async array reduce. Asynchronously applies a function against an accumulator and each element in an… [more](https://github.com/jonschlinkert/async-array-reduce) | [homepage](https://github.com/jonschlinkert/async-array-reduce \"Async array reduce. Asynchronously applies a function against an accumulator and each element in an array (from left to right, in series) to reduce it to a single value.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 10, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/each-series-async","bugs":{"url":"https://github.com/jonschlinkert/each-series-async/issues"},"license":"MIT"}