{"id":23053417,"url":"https://github.com/component/each","last_synced_at":"2025-08-15T03:32:44.289Z","repository":{"id":57204747,"uuid":"5903858","full_name":"component/each","owner":"component","description":"Object / array / array-ish / string iteration utility","archived":false,"fork":false,"pushed_at":"2016-03-15T16:37:53.000Z","size":290,"stargazers_count":14,"open_issues_count":3,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-10T04:56:28.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/component.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-21T16:09:12.000Z","updated_at":"2021-06-14T03:28:29.000Z","dependencies_parsed_at":"2022-09-18T00:51:11.799Z","dependency_job_id":null,"html_url":"https://github.com/component/each","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Feach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Feach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Feach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Feach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/each/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229636752,"owners_count":18102351,"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-12-16T00:18:09.597Z","updated_at":"2024-12-16T00:18:10.034Z","avatar_url":"https://github.com/component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# each\n\n  Array / object / string iteration utility.\n\n## Installation\n\n    $ component install component/each\n\n## API\n\n### each(array, fn[, ctx])\n\n  Iterate an array:\n\n```js\neach([1,2,3], function(num, i){\n  \n})\n```\n\n  Optionally pass a context object:\n\n```js\neach([1,2,3], function(num, i){\n\n}, this)\n```\n\n### each(object, fn[, ctx])\n\n  Iterate an object's key / value pairs:\n\n```js\neach(conf, function(key, val){\n  \n})\n```\n\n  Iterate an array-ish object (has numeric `.length`):\n\n```js\neach(collection, function(val, i){\n  \n})\n```\n\n### each(string, fn[, ctx])\n\n  Iterate a string's characters:\n\n```js\neach('hello', function(c, i){\n  \n})\n```\n\n# License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Feach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Feach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Feach/lists"}