{"id":15700043,"url":"https://github.com/jonschlinkert/each-parallel-async","last_synced_at":"2025-05-12T13:08:25.916Z","repository":{"id":57218121,"uuid":"103080276","full_name":"jonschlinkert/each-parallel-async","owner":"jonschlinkert","description":"Asynchronously calls a function on each element in an array in parallel.","archived":false,"fork":false,"pushed_at":"2017-09-11T02:28:27.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-21T16:48:22.212Z","etag":null,"topics":["async","each","javascript","nodejs","parallel"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-11T02:25:36.000Z","updated_at":"2021-04-12T22:28:17.000Z","dependencies_parsed_at":"2022-08-28T21:00:54.134Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/each-parallel-async","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Feach-parallel-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Feach-parallel-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Feach-parallel-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Feach-parallel-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/each-parallel-async/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252677685,"owners_count":21787019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","each","javascript","nodejs","parallel"],"created_at":"2024-10-03T19:44:39.582Z","updated_at":"2025-05-12T13:08:25.886Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# each-parallel-async [![NPM version](https://img.shields.io/npm/v/each-parallel-async.svg?style=flat)](https://www.npmjs.com/package/each-parallel-async) [![NPM monthly downloads](https://img.shields.io/npm/dm/each-parallel-async.svg?style=flat)](https://npmjs.org/package/each-parallel-async) [![NPM total downloads](https://img.shields.io/npm/dt/each-parallel-async.svg?style=flat)](https://npmjs.org/package/each-parallel-async) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/each-parallel-async.svg?style=flat\u0026label=Travis)](https://travis-ci.org/jonschlinkert/each-parallel-async)\n\n\u003e Asynchronously calls a function on each element in an array in parallel.\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-parallel-async\n```\n\n## Usage\n\n```js\nvar each = require('each-parallel-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  //=\u003e [ 1, 4, 9, 16, 25, 36 ]\n});\n```\n\n**Params**\n\n* `array` **{Array}** - (required) Array of elements to loop over\n* `next` **{Function}** - (required) Function to call on each element in the array\n* `callback` **{Function}** - (required) Final callback function, called after `next` is called on each element in the array.\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* [each-series-async](https://www.npmjs.com/package/each-series-async): Asynchronously calls a function on each element in an array in series. | [homepage](https://github.com/jonschlinkert/each-series-async \"Asynchronously calls a function on each element in an array in series.\")\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 \u0026\u0026 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 \u0026\u0026 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._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Feach-parallel-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Feach-parallel-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Feach-parallel-async/lists"}