{"id":19032635,"url":"https://github.com/jaxxreal/zen-sleep-js","last_synced_at":"2025-07-15T18:33:01.563Z","repository":{"id":57405455,"uuid":"138599075","full_name":"jaxxreal/zen-sleep-js","owner":"jaxxreal","description":"Promise-based setTimeout.","archived":false,"fork":false,"pushed_at":"2018-12-11T20:31:01.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T17:49:20.330Z","etag":null,"topics":["js","project","promise","settimeout","sleep","zen-sleep-js"],"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/jaxxreal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-25T13:31:15.000Z","updated_at":"2022-08-24T08:08:29.000Z","dependencies_parsed_at":"2022-09-17T14:43:34.768Z","dependency_job_id":null,"html_url":"https://github.com/jaxxreal/zen-sleep-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaxxreal/zen-sleep-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxreal%2Fzen-sleep-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxreal%2Fzen-sleep-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxreal%2Fzen-sleep-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxreal%2Fzen-sleep-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaxxreal","download_url":"https://codeload.github.com/jaxxreal/zen-sleep-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxreal%2Fzen-sleep-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265451443,"owners_count":23767768,"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":["js","project","promise","settimeout","sleep","zen-sleep-js"],"created_at":"2024-11-08T21:29:48.357Z","updated_at":"2025-07-15T18:33:01.518Z","avatar_url":"https://github.com/jaxxreal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zen-sleep-js ![bundlephobia badge](https://img.shields.io/bundlephobia/minzip/zen-sleep-js.svg) ![downloads number](https://img.shields.io/npm/dt/zen-sleep-js.svg)\n\nDependency-free promise-based sleeping.\n\n## Installation\n\n```sh\nnpm i zen-sleep-js -S\n```\n\n## Usage\n\n```js\nconst sleep = require('zen-sleep-js');\n\n// Sleep for 1 second and do something then.\nsleep(1000).then(...);\n\n// or\nawait sleep(1000);\n```\n\n## License\n\nMIT licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxxreal%2Fzen-sleep-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxxreal%2Fzen-sleep-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxxreal%2Fzen-sleep-js/lists"}