express-elapsed
v0.1.1
Published
simple middleware that includes elapsed time
Downloads
5
Readme
express-elapsed
Usage
npm install express-elapsed
var express = require('express');
var app = express();
app.use(require('express-elapsed'));
app.use('/', function (req, res) {
res.status(200).send({ foo: 'bar' });
// { foo: 'bar', 'elapsed_time': 1}
});