elysia-route-printer
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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!')

Readme

Keywords

Package Sidebar

Install

npm i elysia-route-printer

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

57.7 kB

Total Files

7

Last publish

Collaborators

  • alcha