pathfinder-ui-auth

1.0.2 • Public • Published

Pathfinder-UI-Auth

Pathfinder-UI-Auth is a tool that allows you to visualize and test the routes in an Express application. This is forked from smlee/pathfinder-ui but has been modified to add authorization headers. Currently basic auth and openid client credentials flow are availble. Also CDN dependencies will be added as npm packages for offline work.

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i pathfinder-ui-auth

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    98.5 kB

    Total Files

    33

    Last publish

    Collaborators

    • luthervd