Skip to content

smlee/pathfinder-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pathfinder-UI

Pathfinder-UI is a tool that allows you to visualize and test the routes in an Express application.

Interactive Tree View

View Routes As Tree

Table View

View Routes As Table

Installation

NPM install the module.

  npm install pathfinder-ui --save-dev

Usage

Require the module in your app.

var pathfinderUI = require('pathfinder-ui')

Put our pathfinder-ui routing where you keep your middleware.

app.use('/pathfinder', function(req, res, next){
	pathfinderUI(app)
	next()
}, pathfinderUI.router)

pathfinderUI(app) grabs your express routes and passes the data into the pathfinder module.

You access the interface by going to localhost:PORT/pathfinder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published