An open API service indexing awesome lists of open source software.

https://github.com/4lch4/elysia-route-printer

A collection of utilities for use in an API built w/ the Elysia framework.
https://github.com/4lch4/elysia-route-printer

Last synced: 3 months ago
JSON representation

A collection of utilities for use in an API built w/ the Elysia framework.

Awesome Lists containing this project

README

        

# Elysia Route Printer

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

## Usage

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

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

printRoutes(app.routes)

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