Skip to content

Connect middleware to measure response processing time with hi-resolution timer

License

Notifications You must be signed in to change notification settings

nodules/connect-contimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connect-contimer NPM version

Dependency status

Usage

var connect = require('connect'),
    timer = require('connect-contimer'),
    app = connect();

app.use(timer(function(time, req) {
    console.log('Response processing time %s ms', time);
}));
···

API

TODO: describe API of the module

License

MIT

Bugs

See https://github.com/nodules/connect-contimer/issues.

About

Connect middleware to measure response processing time with hi-resolution timer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •