express-elapsed

0.1.1 • Public • Published

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}
});
 

Readme

Keywords

none

Package Sidebar

Install

npm i express-elapsed

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • limianwang