{"id":21035250,"url":"https://github.com/skellla/fastify-status","last_synced_at":"2025-05-15T14:31:13.098Z","repository":{"id":38239332,"uuid":"145002730","full_name":"SkeLLLa/fastify-status","owner":"SkeLLLa","description":"Returns common info about fastify server. Could be used for healthchecks and status monitoring.","archived":false,"fork":false,"pushed_at":"2023-07-18T22:05:55.000Z","size":1730,"stargazers_count":2,"open_issues_count":29,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T12:48:13.121Z","etag":null,"topics":["fastify","fastifyjs-plugin","healthchecks","monitoring"],"latest_commit_sha":null,"homepage":"https://gitlab.com/m03geek/fastify-status/","language":"JavaScript","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/SkeLLLa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2018-08-16T14:55:58.000Z","updated_at":"2023-06-24T14:01:10.000Z","dependencies_parsed_at":"2024-01-16T00:22:43.214Z","dependency_job_id":"a2431eb5-4d50-48ff-8eff-c5fc73948411","html_url":"https://github.com/SkeLLLa/fastify-status","commit_stats":{"total_commits":31,"total_committers":3,"mean_commits":"10.333333333333334","dds":0.3870967741935484,"last_synced_commit":"6c213cb4b1f1b5ab4fbe7aaa3e78fe8456590be1"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkeLLLa%2Ffastify-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkeLLLa%2Ffastify-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkeLLLa%2Ffastify-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkeLLLa%2Ffastify-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkeLLLa","download_url":"https://codeload.github.com/SkeLLLa/fastify-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254358669,"owners_count":22057958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastify","fastifyjs-plugin","healthchecks","monitoring"],"created_at":"2024-11-19T13:14:19.801Z","updated_at":"2025-05-15T14:31:12.742Z","avatar_url":"https://github.com/SkeLLLa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastify-status\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/SkeLLLa/fastify-status/raw/master/logo.png\" alt=\"fastify-status logo\"/\u003e\n\u003c/div\u003e\n\n[![NPM Version](https://img.shields.io/npm/v/fastify-status.svg)](https://www.npmjs.com/package/fastify-status)\n[![Downloads Count](https://img.shields.io/npm/dm/fastify-status.svg)](https://www.npmjs.com/package/fastify-status)\n[![Vunerabilities Count](https://snyk.io/test/npm/fastify-status/badge.svg)](https://www.npmjs.com/package/fastify-status)\n[![Build Status](https://github.com/SkeLLLa/fastify-status/workflows/build/badge.svg)](https://github.com/SkeLLLa/fastify-metrics/actions)\n[![License](https://img.shields.io/npm/l/fastify-status.svg)](https://gitlab.com/m03geek/fastify-status/blob/master/LICENSE)\n[![Codecov](https://img.shields.io/codecov/c/gh/SkeLLLa/fastify-status.svg)](https://codecov.io/gh/SkeLLLa/fastify-status)\n[![LGTM Alerts](https://img.shields.io/lgtm/alerts/github/SkeLLLa/fastify-status.svg)](https://lgtm.com/projects/g/SkeLLLa/fastify-status/)\n[![LGTM Grade](https://img.shields.io/lgtm/grade/javascript/github/SkeLLLa/fastify-status.svg)](https://lgtm.com/projects/g/SkeLLLa/fastify-status/)\n\nReturns common info about fastify server. Could be used for healthchecks and status monitoring.\n\n## ToC\n\n- [fastify-status](#fastify-status)\n  - [ToC](#toc)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Format](#format)\n\n## Installation\n\n```sh\nnpm i fastify-status --save\n```\n\n\u003csub\u003e[Back to top](#toc)\u003c/sub\u003e\n\n## Usage\n\nExample with default plugin options.\n\n```js\nconst fastify = require('fastify');\nconst statusPlugin = require('fastify-status');\n\nconst app = fastify();\napp.register(statusPlugin, {\n  info: '/__info__',\n  alive: '/__alive__',\n});\n```\n\nUse `alive` for healthchecks and `info` to get information and some stats of your server.\n\nIf `info` or `alive` is not present in config, then apropriate route will not be added.\n\n\u003csub\u003e[Back to top](#toc)\u003c/sub\u003e\n\n## Format\n\n```js\n{\n  uptime: '0d 0h 0m 10s',\n  memory: {\n    rss: '50Mb',\n    external: '40Mb',\n    heapTotal: '30Mb',\n    heapUsed: '20Mb',\n  },\n  start: '2020-05-10T07:41:20.389Z',\n  env: 'test',\n  name: 'my-server',\n  version: '1.0.0',\n  node: 'v14.0.0'\n}\n```\n\n\u003csub\u003e[Back to top](#toc)\u003c/sub\u003e\n\n## Changelog\n\nSee [changelog](CHANGELOG.md).\n\n\u003csub\u003e[Back to top](#toc)\u003c/sub\u003e\n\n## See also\n\n- [under-pressure](https://github.com/fastify/under-pressure) - more advanced healthcheck.\n\n## License\n\nLicensed under [MIT](./LICENSE).\n\n\u003csub\u003e[Back to top](#toc)\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskellla%2Ffastify-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskellla%2Ffastify-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskellla%2Ffastify-status/lists"}