{"id":21753699,"url":"https://github.com/includable/express-middleware-health","last_synced_at":"2026-04-09T02:32:25.338Z","repository":{"id":57118497,"uuid":"163451473","full_name":"includable/express-middleware-health","owner":"includable","description":"Health endpoint and metrics middleware.","archived":false,"fork":false,"pushed_at":"2019-02-06T11:23:35.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-11T19:27:30.967Z","etag":null,"topics":[],"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/includable.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":"2018-12-28T21:37:02.000Z","updated_at":"2025-09-20T16:36:46.000Z","dependencies_parsed_at":"2022-08-23T05:21:04.477Z","dependency_job_id":null,"html_url":"https://github.com/includable/express-middleware-health","commit_stats":null,"previous_names":["includable/middleware-health"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/includable/express-middleware-health","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/includable%2Fexpress-middleware-health","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/includable%2Fexpress-middleware-health/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/includable%2Fexpress-middleware-health/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/includable%2Fexpress-middleware-health/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/includable","download_url":"https://codeload.github.com/includable/express-middleware-health/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/includable%2Fexpress-middleware-health/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":[],"created_at":"2024-11-26T09:10:56.781Z","updated_at":"2026-04-09T02:32:25.313Z","avatar_url":"https://github.com/includable.png","language":"JavaScript","readme":"# middleware-health\n\nThis package adds a `/health` endpoint that can be used for status checks and lists some request metrics:\n\n```json\n{\n   \"status\": 200,\n   \"friendlyName\": \"OK\",\n   \"environment\": \"production\",\n   \"uptime\": 80374,\n   \"requests\": 208,\n   \"responseTime\": 0.001\n}\n```\n\n## Installation\n\n```sh\nnpm i @includable/middleware-health\n```\n\n## Usage\n\n```js\nconst express = require('express')\nconst health = require('@includable/middleware-health')\n\napp.use(health())\n\napp.listen(process.env.PORT || 3000, () =\u003e console.log(`Example app running.`))\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincludable%2Fexpress-middleware-health","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fincludable%2Fexpress-middleware-health","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincludable%2Fexpress-middleware-health/lists"}