0.3.1 • Published 6 months ago

@krainovsd/fastify-health-controller v0.3.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

@krainovsd/fastify-health-controller

The library of helpers for health-controller.

Installing

Package manager

Using pnpm:

pnpm install @krainovsd/fastify-health-controller

Using yarn:

yarn add @krainovsd/fastify-health-controller

Using npm:

npm install @krainovsd/fastify-health-controller

Usage

import fastify from "fastify";
import { healthController } from "@krainovsd/fastify-health-controller"

await fastify.register(healthController, { routes: [
  { path: "/api/healthz", response: { message: "ok" } },
  { path: "/api/ping", response: { message: "pong" } },
]});
0.3.1

6 months ago

0.3.0

8 months ago

0.2.0

8 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago