{"id":19643197,"url":"https://github.com/sorenlouv/await-sleep","last_synced_at":"2025-07-05T20:37:43.960Z","repository":{"id":57187942,"uuid":"100580912","full_name":"sorenlouv/await-sleep","owner":"sorenlouv","description":"Delay with async/await","archived":false,"fork":false,"pushed_at":"2022-01-13T00:20:56.000Z","size":4,"stargazers_count":39,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T08:51:12.006Z","etag":null,"topics":["async","await","blocking","delay","es6","javascript","promise","sleep"],"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/sorenlouv.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":"2017-08-17T08:34:36.000Z","updated_at":"2023-08-22T16:21:02.000Z","dependencies_parsed_at":"2022-08-28T10:51:41.634Z","dependency_job_id":null,"html_url":"https://github.com/sorenlouv/await-sleep","commit_stats":null,"previous_names":["sorenlouv/await-sleep","sqren/await-sleep"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenlouv%2Fawait-sleep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenlouv%2Fawait-sleep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenlouv%2Fawait-sleep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorenlouv%2Fawait-sleep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorenlouv","download_url":"https://codeload.github.com/sorenlouv/await-sleep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319747,"owners_count":21570450,"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","blocking","delay","es6","javascript","promise","sleep"],"created_at":"2024-11-11T14:19:31.934Z","updated_at":"2025-04-28T13:30:38.615Z","avatar_url":"https://github.com/sorenlouv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# await-sleep\n\nSimple sleep with async/await\n\n## Installation\n\n```bash\nnpm install --save await-sleep\n```\n\n## Usage\n\n```js\nimport * as sleep from 'await-sleep';\n\nasync function myAsyncFunction() {\n  console.time('Sleeping');\n\n  await sleep(1500);\n\n  console.timeEnd('Sleeping'); // Sleeping: 1507.180ms\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorenlouv%2Fawait-sleep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorenlouv%2Fawait-sleep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorenlouv%2Fawait-sleep/lists"}