{"id":47197738,"url":"https://github.com/electather/task-repeater","last_synced_at":"2026-03-13T12:14:48.414Z","repository":{"id":98821824,"uuid":"400145629","full_name":"electather/task-repeater","owner":"electather","description":"A Javascript library created to help manage repeated tasks","archived":false,"fork":false,"pushed_at":"2021-08-29T09:31:59.000Z","size":102,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T16:56:35.375Z","etag":null,"topics":["repeat","repetitive","repetitive-tasks","timed","timeout","timer"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/electather.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2021-08-26T11:32:52.000Z","updated_at":"2021-09-04T13:56:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"af97ec2b-a859-493a-9454-48d96cd60da5","html_url":"https://github.com/electather/task-repeater","commit_stats":null,"previous_names":["electather/repeatr-ts"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/electather/task-repeater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electather%2Ftask-repeater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electather%2Ftask-repeater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electather%2Ftask-repeater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electather%2Ftask-repeater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electather","download_url":"https://codeload.github.com/electather/task-repeater/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electather%2Ftask-repeater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30466824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["repeat","repetitive","repetitive-tasks","timed","timeout","timer"],"created_at":"2026-03-13T12:14:47.465Z","updated_at":"2026-03-13T12:14:48.407Z","avatar_url":"https://github.com/electather.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTask repeater\u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/task-repeater\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/task-repeater.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/electather/task-repeater#readme\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/documentation-yes-brightgreen.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/electather/task-repeater/graphs/commit-activity\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Maintenance\" src=\"https://img.shields.io/badge/Maintained%3F-yes-green.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/electather/task-repeater/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/electather/task-repeater\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://bundlephobia.com/package/task-repeater\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/bundlephobia/minzip/task-repeater\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA tiny [(657B Gzipped)](https://bundlephobia.com/package/task-repeater) micro library to manage repeated tasks with ease.\n\n## Install\n\n```sh\nyarn install\n```\n\n## Usage\n\n```typescript\nimport TaskRepeater from 'task-repeater';\n\nconst job1 = TaskRepeater()\n                .do(() =\u003e { /*...*/ })\n                .every(1000)\n                .start();\n\nconst job2 = TaskRepeater()\n                .do((itteration) =\u003e console.log(`itteration No.${itteration} ...`))\n                .do(() =\u003e { /*...*/ })\n                .finally((itterationsDone) =\u003e console.log(`tasks done. ${itterationsDone} itterations were completed.`))\n                .for(5) // times\n                .every(2_000) // interval in miliseconds \n                .delay(1_000) // initial delay in miliseconds\n                .start();\n\njob1.stop(); // stops the repetitive calls\njob1.reset(); // resets the counter as if it isn't invoked\n```\n\n## Author\n\n👤 **Omid Astaraki \u003comid.ocean@gmail.com\u003e**\n\n* Github: [@electather](https://github.com/electather)\n* LinkedIn: [@omid-astaraki](https://linkedin.com/in/omid-astaraki)\n\n## Credits \n\nthis package is based on [Repeatr](https://github.com/theshem/Repeatr) library developed by [@theshem](https://github.com/theshem).\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/electather/task-repeater/issues). You can also take a look at the [contributing guide](https://github.com/electather/task-repeater/blob/master/CONTRIBUTING.md).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## 📝 License\n\nCopyright © 2021 [Omid Astaraki \u003comid.ocean@gmail.com\u003e](https://github.com/electather).\u003cbr /\u003e\nThis project is [MIT](https://github.com/electather/task-repeater/blob/master/LICENSE) licensed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectather%2Ftask-repeater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectather%2Ftask-repeater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectather%2Ftask-repeater/lists"}