elysia-route-printer
v0.1.0
Published
A package that displays the routes registered to an Elysia API as a table.
Downloads
5
Readme
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!')