Projects

@4lch4/koa-router-printer

Node.js
TypeScript
Libraries
Koa.js

A library to print the routes added to a Koa App/Router.

Repo

The Koa logo.

Koa Router Printer is a lightweight utility for Koa.js applications that utilize @koa/router. It outputs a two-column table containing the registered path(s) and method(s) like so:

┌─────────────────────────┬─────────┐
 Path Methods
├─────────────────────────┼─────────┤
 /api/v1/health/liveness   GET
├─────────────────────────┼─────────┤
 /api/v1/health/liveness   GET
└─────────────────────────┴─────────┘

I have since archived the repository as I no longer use Koa.js in my projects. Last I checked it was still functional but I will no longer maintain it.