{"id":19281737,"url":"https://github.com/scality/breakbeat","last_synced_at":"2026-06-19T00:32:12.315Z","repository":{"id":138268835,"uuid":"567631612","full_name":"scality/breakbeat","owner":"scality","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-05T14:12:31.000Z","size":159,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":27,"default_branch":"development/1.0","last_synced_at":"2025-11-15T07:39:18.282Z","etag":null,"topics":["artesca","zenko"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scality.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":"2022-11-18T08:02:13.000Z","updated_at":"2024-07-05T14:11:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a080415-4689-43d3-840a-d583baf9eef9","html_url":"https://github.com/scality/breakbeat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/scality/breakbeat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fbreakbeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fbreakbeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fbreakbeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fbreakbeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scality","download_url":"https://codeload.github.com/scality/breakbeat/tar.gz/refs/heads/development/1.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fbreakbeat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34513020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["artesca","zenko"],"created_at":"2024-11-09T21:23:58.946Z","updated_at":"2026-06-19T00:32:12.285Z","avatar_url":"https://github.com/scality.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# breakbeat\n\n![Breakbeat](doc/breakbeat.png)\n\n## About\n\nRule based stop and go.\n\n## Examples\n\n```typescript\nconst { CircuitBreaker, BreakerState } = require('breakbeat');\nconst conf = {\n    probes: [],\n    nominalEvaluateIntervalMs: 30000,\n    stabilizeAfterNSuccesses: 2,\n};\nconst b = new CircuitBreaker(conf);\nb.start();\n\nconst i = setInterval(() =\u003e {\n    if (b.state === BreakerState.Nominal) {\n        console.log('all good, proceeding');\n    } else {\n        console.log('issue detected, delaying work');\n    }\n}, 5000);\n\nprocess.on('beforeExit', (code) =\u003e {\n    clearInterval(i);\n    b.stop();\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscality%2Fbreakbeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscality%2Fbreakbeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscality%2Fbreakbeat/lists"}