Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express js list all routes

const listEndpoints = require("express-list-endpoints"); // npm i express-list-endpoints
console.log(listEndpoints(app)); // where app = express();
 
PREVIOUS NEXT
Tagged: #express #js #list #routes
ADD COMMENT
Topic
Name
7+7 =