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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.10
0.1.00

Package Sidebar

Install

npm i express-elapsed

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • limianwang