{"id":19543623,"url":"https://github.com/nodecloud/koa-consul","last_synced_at":"2026-04-25T11:32:51.013Z","repository":{"id":143867453,"uuid":"89145587","full_name":"nodecloud/koa-consul","owner":"nodecloud","description":"The koa middleware for consul health check.","archived":false,"fork":false,"pushed_at":"2017-08-11T06:12:43.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T01:09:56.379Z","etag":null,"topics":["consul","health-check","koa2","middleware"],"latest_commit_sha":null,"homepage":"","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/nodecloud.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-23T13:55:13.000Z","updated_at":"2018-05-12T01:03:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"68a8e7b7-5583-4c54-9f08-5e0b40a9f25a","html_url":"https://github.com/nodecloud/koa-consul","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodecloud/koa-consul","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodecloud%2Fkoa-consul","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodecloud%2Fkoa-consul/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodecloud%2Fkoa-consul/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodecloud%2Fkoa-consul/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodecloud","download_url":"https://codeload.github.com/nodecloud/koa-consul/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodecloud%2Fkoa-consul/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32261110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: 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":["consul","health-check","koa2","middleware"],"created_at":"2024-11-11T03:20:00.576Z","updated_at":"2026-04-25T11:32:50.998Z","avatar_url":"https://github.com/nodecloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa-consul\n\nThis middleware will set a /health route as default. The consul server will visit /health for acquiring system info and check the service's health status.\n\n## Usage\n\n``` javascript\nimport Koa from 'koa';\nimport KoaConsul from 'koa-consul';\n\nlet app = new Koa();\n\napp.use(KoaConsul());\n```\n\n## API\n\n### KoaConsul(options)\n\n* options.url \n* options.getInfo: a callback function, if you want custom the /health api's response, please implement this function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodecloud%2Fkoa-consul","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodecloud%2Fkoa-consul","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodecloud%2Fkoa-consul/lists"}