{"id":21031496,"url":"https://github.com/slaveofcode/delaytime","last_synced_at":"2025-12-29T10:42:16.058Z","repository":{"id":92794971,"uuid":"144098774","full_name":"slaveofcode/delaytime","owner":"slaveofcode","description":"Simple NodeJs module for delaying execution","archived":false,"fork":false,"pushed_at":"2018-08-09T04:19:35.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T17:38:28.200Z","etag":null,"topics":["delay","delay-promise","promise","timeout","waiting"],"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/slaveofcode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-09T03:57:27.000Z","updated_at":"2018-08-09T04:19:32.000Z","dependencies_parsed_at":"2023-06-26T00:30:55.666Z","dependency_job_id":null,"html_url":"https://github.com/slaveofcode/delaytime","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"06b9674dc083f7700e14d6725b5f56292dc56c06"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fdelaytime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fdelaytime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fdelaytime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slaveofcode%2Fdelaytime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slaveofcode","download_url":"https://codeload.github.com/slaveofcode/delaytime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243472081,"owners_count":20296260,"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":["delay","delay-promise","promise","timeout","waiting"],"created_at":"2024-11-19T12:29:01.414Z","updated_at":"2025-12-29T10:42:16.024Z","avatar_url":"https://github.com/slaveofcode.png","language":"JavaScript","readme":"# Delaying\nSimple NodeJs module for delaying execution using promise or async-await\n\n\n## Installation\n\n\u003e npm i delaying\n\n## Example\n\n    const delaying = require('delaying');\n    \n    const yourFunction = async () =\u003e {\n      console.log('First time message');\n      await delaying('3000'); // 3000 milliseconds = 3 secs\n      console.log('Second time message');\n    }\n\n    yourFunction();\n\n\n# License\n\nMIT \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaveofcode%2Fdelaytime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslaveofcode%2Fdelaytime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslaveofcode%2Fdelaytime/lists"}