Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 564 Bytes

File metadata and controls

20 lines (16 loc) · 564 Bytes

@elysia/server-timing

Elysia Elysia plugin to integrate Server-Timing

Installation

bun add @elysia/server-timing

Example

import { Elysia } from 'elysia'
import { serverTiming } from '@elysiajs/server-timing'

new Elysia()
    .use(serverTiming())
    .get('/', () => 'hello')
    .listen(3000)

Please refers to the documentation on how to use the package