{"id":16721519,"url":"https://github.com/jdormit/async-for-each","last_synced_at":"2025-06-10T20:35:16.624Z","repository":{"id":57144394,"uuid":"80440136","full_name":"jdormit/async-for-each","owner":"jdormit","description":"Asynchronous array iteration","archived":false,"fork":false,"pushed_at":"2017-01-30T17:58:44.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T17:18:58.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/jdormit.png","metadata":{"files":{"readme":"readme-base.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-01-30T16:36:37.000Z","updated_at":"2017-08-08T21:07:36.000Z","dependencies_parsed_at":"2022-09-06T08:53:41.113Z","dependency_job_id":null,"html_url":"https://github.com/jdormit/async-for-each","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Fasync-for-each","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Fasync-for-each/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Fasync-for-each/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Fasync-for-each/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdormit","download_url":"https://codeload.github.com/jdormit/async-for-each/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Fasync-for-each/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259146618,"owners_count":22812279,"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":[],"created_at":"2024-10-12T22:30:59.154Z","updated_at":"2025-06-10T20:35:16.594Z","avatar_url":"https://github.com/jdormit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# async-for-each\n## Asynchronous array iteration\n`async-for-each` exposes a function to iterate over an array asynchronously. This is useful\nfor iteration that must occur in an asynchronous context, or for iterating over long arrays\nwithout blocking the event loop.\n\n# Installation\n\n    npm install --save async-for-each\n\n# Usage\n\n```javascript\nconst asyncForEach = require(\"async-for-each\");\n    \nconst arr = [1, 2, 3, 4, 5];\nasyncForEach(arr, function(value, index, next) {\n    console.log(\"The value at %s is %s\", index, value);\n    doSomethingAsyncWithValue(value, function() {\n        next();\n    });\n}, function() {\n    console.log(\"Iteration complete!\");\n});\n```\n# API\n#include \"docs.md\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdormit%2Fasync-for-each","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdormit%2Fasync-for-each","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdormit%2Fasync-for-each/lists"}