{"id":15603898,"url":"https://github.com/cusspvz/await-delay","last_synced_at":"2025-04-24T19:36:52.151Z","repository":{"id":57187950,"uuid":"63881582","full_name":"cusspvz/await-delay","owner":"cusspvz","description":"use delay/sleep/wait to async/await ES7","archived":false,"fork":false,"pushed_at":"2016-07-21T15:44:31.000Z","size":1,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T03:47:54.182Z","etag":null,"topics":["async-await","delay","es7","promise","sleep","wait"],"latest_commit_sha":null,"homepage":"","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/cusspvz.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-07-21T15:37:40.000Z","updated_at":"2023-11-30T02:07:02.000Z","dependencies_parsed_at":"2022-08-28T13:00:34.493Z","dependency_job_id":null,"html_url":"https://github.com/cusspvz/await-delay","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/cusspvz%2Fawait-delay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cusspvz%2Fawait-delay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cusspvz%2Fawait-delay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cusspvz%2Fawait-delay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cusspvz","download_url":"https://codeload.github.com/cusspvz/await-delay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250694711,"owners_count":21472492,"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-await","delay","es7","promise","sleep","wait"],"created_at":"2024-10-03T03:21:51.922Z","updated_at":"2025-04-24T19:36:52.101Z","avatar_url":"https://github.com/cusspvz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# await-delay\n\nuse delay/sleep to async/await ES7\n\n## Installation \n\n```bash\nnpm i --save await-delay\n```\n\n## Usage\n\n```js\nimport delay from 'await-delay'\n\nasync () =\u003e {\n  // Do something\n  \n  // Wait for 2 seconds \n  await delay(2000)\n\n  // Do things after the delay\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcusspvz%2Fawait-delay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcusspvz%2Fawait-delay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcusspvz%2Fawait-delay/lists"}