0.0.5 • Published 6 months ago

@4lch4/elysia-route-printer v0.0.5

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

Elysia Route Printer

This is a simple tool to print the routes of an API made with the Elysia framework.

Usage

import { Elysia } from 'elysia'
import { printRoutes } from 'elysia-route-printer'

export const app = new Elysia().get('/hello', () => 'OK').listen(8080)

printRoutes(app)

console.log('Server is online!')
0.0.5

6 months ago

0.0.3

6 months ago