get all routes in express4

32 views
Skip to first unread message

Muslim Munir

unread,
Sep 25, 2014, 9:23:04 AM9/25/14
to nod...@googlegroups.com
I want to extract all routes by using this statement
var routes = _.flatten(app._router.stack);
app._router.stack have size of 68 but routes variable is undefined
Reply all
Reply to author
Forward
0 new messages