{"id":21565124,"url":"https://github.com/cfware/callback-array-once","last_synced_at":"2025-07-23T09:37:44.370Z","repository":{"id":57101004,"uuid":"177198165","full_name":"cfware/callback-array-once","owner":"cfware","description":"Run and clear an array of callbacks","archived":false,"fork":false,"pushed_at":"2023-10-15T15:20:02.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T11:37:48.083Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-22T19:27:58.000Z","updated_at":"2022-08-13T03:23:57.000Z","dependencies_parsed_at":"2025-01-24T11:43:59.226Z","dependency_job_id":"0e0da087-f93f-458a-b86c-03dec82fe760","html_url":"https://github.com/cfware/callback-array-once","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cfware/callback-array-once","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fcallback-array-once","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fcallback-array-once/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fcallback-array-once/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fcallback-array-once/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfware","download_url":"https://codeload.github.com/cfware/callback-array-once/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fcallback-array-once/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266655768,"owners_count":23963557,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-24T10:18:30.842Z","updated_at":"2025-07-23T09:37:44.347Z","avatar_url":"https://github.com/cfware.png","language":"JavaScript","readme":"# @cfware/callback-array-once [![NPM Version][npm-image]][npm-url]\n\nRun and clear an array of callbacks.\n\n## Usage\n\n```js\nimport runCallbacks from '@cfware/callback-array-once';\n\nconst cbs = [\n\t(arg1, arg2) =\u003e {\n\t\tconsole.log(arg1, arg2);\n\t},\n\t(arg1, arg2) =\u003e {\n\t\tconsole.log(arg1 + 1, arg2 + 1);\n\t}\n];\n\nrunCallbacks(cbs, 1, 2);\nconsole.log(cbs.length);\n/* Prints:\n *   1 2\n *   2 3\n *   0\n */\n```\n\n[npm-image]: https://img.shields.io/npm/v/@cfware/callback-array-once.svg\n[npm-url]: https://npmjs.org/package/@cfware/callback-array-once\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fcallback-array-once","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfware%2Fcallback-array-once","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fcallback-array-once/lists"}