0.0.5 • Published 2 years ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.3

2 years ago