Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

server-visualizer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-visualizer

Server-Visualizer is an Express middleware that helps developers visualize their server activities.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Server-Visualizer

Server-Visualizer is an Express middleware that helps developers visualize their server activities, by providing a user interface with charts illustrating the server response code, fetch method and request time.

About

  • Server-Visualizer allows developers to monitor request methods, response status codes, and related timings.

  • Data can be accessed using a GUI served from the same development port as the main app.

  • Displays a pie chart and a list of requests updated in real time.

Install

npm install server-visualizer

Usage

const serverVisualizer = require('server-visualizer');

// pass in reference to instance of app to add development routes
// developer can set path to visualizer or accept default route to '/SerVis'
serverVisualizer.start(app[, route])();

// routes added
// 1. Specifies the route that the developer uses to access Server Visualizer
// 2. Retrieves request data for the application. To be used internally and not by the developer.
// 3. Serves the bundled Javascript file. To be used internally and not by the developer. 

// records request and response activities
app.use(serverVisualizer.run());

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Keywords

FAQs

Package last updated on 10 Sep 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc