I recently needed a list of all the routes that were being used in a Node.js/Express application. After some intense Googling, I found an npm package that would do exactly what I required.

All you need to do to use it is:

npm i pathfinder-ui

and add a route similar to the below:

var pathfinderUI = require('pathfinder-ui')
app.use('/pathfinder', function(req, res, next){
    pathfinderUI(app)
    next()
}, pathfinderUI.router)

This provides a wonderful tree and table view of all your routes.

It also says that it provides a way to test the APIs but it is slightly underbaked compared to their other offerings. I copy-pasted the table into excel and used Postman to test the APIs which was convenient for my usecase.