var _ = require('lodash') var routes = _.map(_.filter(app._router.stack, function(item){ return (item.route != undefined) }), function(route){ return { path: route.route.path, method: Object.keys(route.route.methods)[0] } }) /** Sample output: { route : '/', method: 'get' }, { route : '/things', method: 'get' }, { route : '/things', method: 'post' }, { route : '/things/:id', method: 'get' }, ...etc **/ _.each(routes, function(route){ console.log(route.method.toUpperCase() + '\t' + route.path) }) /** Sample output: GET / GET /things POST /things GET /things/:id ...etc... **/