Wondering what’s next for npm?Check out our public roadmap! »

    bizzby-response-summary

    1.0.0 • Public • Published

    response-summary

    Summarize an express response for logging.

    Example

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

    API

    summary(req, res)

    Return an object summarizing a response.

    License

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

    Keywords

    none

    Install

    npm i bizzby-response-summary

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    none

    Last publish

    Collaborators

    • avatar