{"id":16419152,"url":"https://github.com/cameronhunter/async-with-timeout","last_synced_at":"2025-11-17T15:01:44.268Z","repository":{"id":179601683,"uuid":"663778331","full_name":"cameronhunter/async-with-timeout","owner":"cameronhunter","description":"A node utility function that implements timeout and AbortSignal support for async functions.","archived":false,"fork":false,"pushed_at":"2024-02-19T19:27:40.000Z","size":277,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T09:06:24.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cameronhunter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2023-07-08T04:48:51.000Z","updated_at":"2023-07-08T05:02:05.000Z","dependencies_parsed_at":"2023-11-20T01:41:11.353Z","dependency_job_id":"cfce223b-d0ce-4b4e-9b86-2735a6e6d9fb","html_url":"https://github.com/cameronhunter/async-with-timeout","commit_stats":null,"previous_names":["cameronhunter/async-with-timeout"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cameronhunter/async-with-timeout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Fasync-with-timeout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Fasync-with-timeout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Fasync-with-timeout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Fasync-with-timeout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cameronhunter","download_url":"https://codeload.github.com/cameronhunter/async-with-timeout/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Fasync-with-timeout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284902580,"owners_count":27081908,"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-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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-10-11T07:16:05.622Z","updated_at":"2025-11-17T15:01:44.227Z","avatar_url":"https://github.com/cameronhunter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@cameronhunter/async-with-timeout`\n\n[![npm package](https://img.shields.io/npm/v/%40cameronhunter/async-with-timeout?logo=npm)](https://www.npmjs.com/package/@cameronhunter/async-with-timeout)\n[![npm downloads](https://img.shields.io/npm/dm/%40cameronhunter/async-with-timeout?logo=npm)](https://www.npmjs.com/package/@cameronhunter/async-with-timeout)\n[![main branch status](https://img.shields.io/github/actions/workflow/status/cameronhunter/async-with-timeout/post-merge.yml?logo=github\u0026label=main)](https://github.com/cameronhunter/async-with-timeout/actions/workflows/post-merge.yml)\n\nA node utility function that implements timeout and `AbortSignal` support for async functions.\n\n## Usage\n\n```ts\nimport { withTimeout } from '@cameronhunter/async-with-timeout';\n\nawait withTimeout(5000, async () =\u003e {\n    const a: number = await longProcess();\n    const b: number = await anotherLongProcess();\n\n    return a + b;\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronhunter%2Fasync-with-timeout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcameronhunter%2Fasync-with-timeout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronhunter%2Fasync-with-timeout/lists"}