express-status-counter
express middleware that counts response by the first digit of its HTTP status codes.
Install
› npm install -S express-status-counter
Usage
// server.js var connect = statusCounterMiddleware = stats = stats; var app = // Every response will be counted by `stats` function as `app.stats.status-<N>xx`,// where `N` is the first digit of HTTP status code.app;