tickle
v1.5.0
Published
request counter
Downloads
8,851
Readme
tickle
Request counter for nodejs, independent for every route
Installation
Install through NPM
npm install tickle
or
git clone git://github.com/hex7c0/tickle.git
API
inside expressjs project
var tickle = require('tickle');
var app = require('express')();
app.use(tickle);
Class is stored inside global Object. One istance for environment.
global.tickle;
Methods
reset all counter
global.tickle.reset();
get time per request
global.tickle.tpr();
routing information are stored inside an Object
global.tickle.route;
Examples
Take a look at my examples