1.0.1 • Published 6 months ago

elysia-status v1.0.1

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

Elysia Status

This repository is home to a plugin for the Elysia framework that provides status endpoints for the APIs health.

Usage

To use the plugin, simply add it like you would any other one with the .use function available on an instance of Elysia:

import { Elysia } from 'elysia'
import { StatusRoutes } from 'elysia-status'

const app = new Elysia().use(StatusRoutes('/status'))

app.listen(8080)

console.log('Server is online!')

The above example will add a prefix of /status to the routes but it's an optional value you can remove if you don't want it. The resulting routes will be available at:

  • /status/health
  • /status/readiness
1.0.1

6 months ago

1.0.0

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago