response-summary

Summarize an express response.

response-summary

Summarize an express response.

var summary = require('response-summary');
 
var app = express();
app.get(function (reqresnext) {
  var response = summary(req, res);
  console.log('bytes sent: ' + response.size);
  next();
});

Return an object summarizing a response.

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|