Answers for "how to get routers list on express"

7

express js list all routes

const listEndpoints = require("express-list-endpoints"); // npm i express-list-endpoints
console.log(listEndpoints(app)); // where app = express();
Posted by: Guest on July-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language