Ausgabe der aktuellen routes von expressjs
1 2 3 4 5 6 7 8 var app = require('../app'); console.log(); app.routes.all().forEach(function(route){ console.log(' \033[90m%s \033[36m%s\033[0m', route.method.toUpperCase(), route.path); }); console.log(); process.exit(); Quelle ...