npm i express-route-list-cli
Provide an overview of all of the routes that are defined by your application from the command line.
Laravel (route:list) inspired cli command.
npx route-list --help
route-list <relative app file path>
Options:
--version Show version number [boolean]
-p, --path filter endpoints by path [string]
-m, --method filter endpoints by method [string]
-w, --middleware filter endpoints by middleware [string]
-f, --routingFiles show routing files
-d, --detailedRoutingFiles show detailed routing files
--help Show help [boolean]