Socket
Socket
Sign inDemoInstall

express-routes-visualizer

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    express-routes-visualizer

Visualize Express routes using D3


Version published
Weekly downloads
30
decreased by-50%
Maintainers
1
Install size
162 kB
Created
Weekly downloads
 

Readme

Source

express-routes-visualizer

An express middleware and endpoint for viewing your app's route hierarchy.

NPM Version Build Status Coverage Maintainability

Hackathon Starter Example

Note, this isn't working with express.Router() instances at the moment.

Installation

npm install --save express-routes-visualizer

Usage

const { middleware, visualizer } = require('express-routes-visualizer')

app.use(
  '/routes',
  middleware({ httpMethods: false }),
  visualizer({ theme: 'dark-blue' })
)

Themes

See ./themes.md for visuals of each scheme.

  • plain - a plain scheme with a light background
  • light-gray - a simple light grayscale theme
  • dark-gray - a simple dark grayscale theme
  • dark-blue - a darker blue theme loosely based on the Atom Nord theme
  • burn - a low-contrast scheme inspired by Zenburn

License

MIT © Forrest Desjardins

Keywords

FAQs

Last updated on 23 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc