express-route-viewer

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i express-route-viewer

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • sleuthg