{"id":16078175,"url":"https://github.com/a179346/rxjs-probe","last_synced_at":"2026-01-17T06:54:28.467Z","repository":{"id":257441450,"uuid":"858089465","full_name":"a179346/rxjs-probe","owner":"a179346","description":"rxjs-probe provides an interface similar to Kubernetes probes using RxJS to detect service health.","archived":false,"fork":false,"pushed_at":"2024-09-23T13:19:45.000Z","size":170,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T12:32:52.297Z","etag":null,"topics":["browser","health-check","node","probe","rxjs","rxjs-observables","ts","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/a179346/rxjs-probe","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/a179346.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":"2024-09-16T09:37:57.000Z","updated_at":"2024-09-23T13:19:48.000Z","dependencies_parsed_at":"2024-10-27T17:22:18.468Z","dependency_job_id":"6d51932f-4439-4c06-94e5-5a46158a00ea","html_url":"https://github.com/a179346/rxjs-probe","commit_stats":null,"previous_names":["a179346/rxjs-probe"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/a179346/rxjs-probe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a179346%2Frxjs-probe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a179346%2Frxjs-probe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a179346%2Frxjs-probe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a179346%2Frxjs-probe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a179346","download_url":"https://codeload.github.com/a179346/rxjs-probe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a179346%2Frxjs-probe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"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":["browser","health-check","node","probe","rxjs","rxjs-observables","ts","typescript"],"created_at":"2024-10-09T10:08:31.796Z","updated_at":"2026-01-17T06:54:28.431Z","avatar_url":"https://github.com/a179346.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1 align=\"center\"\u003e ✨ rxjs-probe ✨\u003c/h1\u003e\n\n\u003cp\u003e\n  \u003ca href=\"https://github.com/a179346/rxjs-probe/actions/workflows/npm-publish.yml\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://github.com/a179346/rxjs-probe/actions/workflows/npm-publish.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@rxjs-probe/core\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/npm/v/@rxjs-probe/core?maxAge=3600)\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/a179346/rxjs-probe#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/a179346/rxjs-probe/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/a179346/rxjs-probe/blob/main/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/a179346/rxjs-probe\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\u003e rxjs-probe provides an interface similar to [Kubernetes probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) using [RxJS](https://rxjs.dev/) to detect service health.\n\n## 🔗 Link\n\n- [Github](https://github.com/a179346/rxjs-probe)\n- [npm](https://www.npmjs.com/package/@rxjs-probe/core)\n\n## 📥 Install\n\n```sh\nnpm i rxjs @rxjs-probe/core\n```\n\n## 🔑 Usage\n\n```ts\nimport { Probe, ProbePerformer } from '@rxjs-probe/core';\nimport axios from 'axios';\n\nconst probe = new Probe({\n  performer: new ProbePerformer(async timeoutSeconds =\u003e {\n    await axios({\n      url: 'https://github.com/a179346/rxjs-probe',\n      timeout: timeoutSeconds * 1000,\n      validateStatus: status =\u003e status === 200,\n    });\n  }),\n  initialDelaySeconds: 3,\n  periodSeconds: 2,\n  timeoutSeconds: 1,\n  successThreshold: 1,\n  failureThreshold: 3,\n});\n\nconst probeObservable = probe.createObservable();\n```\n\nprobeObservable is an RxJS Observable. You can subscribe to it to get the probe status.\n\nCheck the [RxJS documentation - Observable](https://rxjs.dev/guide/observable) for more information.\n\n## 📖 Examples\n\nYou can find more examples on how to use rxjs-probe in [rxjs-probe-examples GitHub repository](https://github.com/a179346/rxjs-probe-examples).\n\n## 🔎 Probe Performers\n\n- [Probe Performer](https://github.com/a179346/rxjs-probe-examples/tree/main?tab=readme-ov-file#-custom-probe-performer) - The customizable health check performer\n- [Http Probe Performer](https://github.com/a179346/rxjs-probe/tree/main/packages/http-probe-performer#readme) - Sending HTTP GET requests to perform the health check.\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/a179346/rxjs-probe/issues).\n\n## 🌟 Show your support\n\nGive a ⭐️ if this project helped you!\n\n## 📝 License\n\nCopyright © 2024 [a179346](https://github.com/a179346).\u003cbr /\u003e\nThis project is [MIT](https://github.com/a179346/rxjs-probe/blob/main/LICENSE) licensed.\n\n---\n\n_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa179346%2Frxjs-probe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa179346%2Frxjs-probe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa179346%2Frxjs-probe/lists"}