express-route-viewer
v0.0.3
Published
Displays the routes of an ExpressJS app in a nice human-readable format.
Downloads
6
Readme
express-route-viewer
Displays the routes of an ExpressJS app in a nice human-readable format.
Install
npm install express-route-viewer
Basic Example
routeViewer = require('express-route-viewer');
var app = require('express')();
app.get('/api/test', function(req,res) { res.send('Howdy'); });
routeViewer(app);
Logs to the console...
/api/test
-- get