List routes for Express Framework
npm install express-route-list> List routes for Express Framework
   
``bash`
npm i -D express-route-list
If you are using Typescript in project, read typescript setup
Export the app (regardless of where you are declaring it).
`js
//app.js
module.exports = app;
`
Create a configuration file:
`js
//route-list.js
const { configure } = require('express-route-list');
const app = require('./app');
configure(app, { showIndex: true, prefix: '' });
`
Create a script entry in package.json and run.
`bash`
npm pkg set scripts.route-list="node route-list.js"
`bash``
npm run route-list

This package provides a quick way to easily visualize your application's routes, with a minimal configuration.