memviz
TypeScript icon, indicating that this package has built-in type declarations

0.0.106 • Public • Published

MemViz - Express middleware for visualizing memory usage

install : npm install memviz -S

Usage

const express = require('express');
const {memviz} = require('memviz');

const app = express();

app.use('/memory', memviz({
  frequency: 100000,  // sample interval (in milliseconds)
  maxCount: 200000  // maximum number of entries to store 
}));

If you make a GET /memory request to your server, you will see this in the browser:

You can probably use an iframe to display this on a webpage as well.

Package Sidebar

Install

npm i memviz

Weekly Downloads

0

Version

0.0.106

License

MIT

Unpacked Size

58.3 kB

Total Files

17

Last publish

Collaborators

  • oresoftware