{"id":18658354,"url":"https://github.com/shime/repeat-time","last_synced_at":"2025-10-03T15:45:38.622Z","repository":{"id":20431247,"uuid":"23707906","full_name":"shime/repeat-time","owner":"shime","description":"Declarative setInterval","archived":false,"fork":false,"pushed_at":"2014-09-05T15:28:24.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T15:26:29.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/shime.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":"2014-09-05T15:25:33.000Z","updated_at":"2014-09-05T15:26:04.000Z","dependencies_parsed_at":"2022-07-31T19:38:08.544Z","dependency_job_id":null,"html_url":"https://github.com/shime/repeat-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Frepeat-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Frepeat-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Frepeat-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Frepeat-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shime","download_url":"https://codeload.github.com/shime/repeat-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239475962,"owners_count":19645041,"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":[],"created_at":"2024-11-07T07:32:38.275Z","updated_at":"2025-10-03T15:45:33.588Z","avatar_url":"https://github.com/shime.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## repeat-time\n\n[![Build Status](https://travis-ci.org/shime/repeat-time.svg)](https://travis-ci.org/shime/repeat-time)\n\nDeclarative setInterval based on [english-time](http://github.com/azer/english-time).\n\nBasically a `s/setTimeout/setInterval/g` of [after-time](http://github.com/azer/after-time).\n\n```js\nrepeat = require('repeat-time')\n\nrepeat('150ms', function(){\n  console.log('yo!')\n})\n\nrepeat('5 minutes', function(){\n  console.log('hello!')\n})\n\nrepeat('3 Hours, 15 Minutes and 20 Milliseconds', function(){\n  console.log('yo!')\n})\n\nrepeat('3h 15m 20ms', 'foo', 'bar', function(foo, bar){\n  foo // =\u003e 'foo'\n\n  bar // =\u003e 'bar'\n})\n```\n\n## Install\n\n```bash\n$ npm install repeat-time\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshime%2Frepeat-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshime%2Frepeat-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshime%2Frepeat-time/lists"}