tickle

1.5.0 • Public • Published

tickle

NPM version Linux Status Windows Status Dependency Status Coveralls

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

License GPLv3

/tickle/

    Package Sidebar

    Install

    npm i tickle

    Weekly Downloads

    1,493

    Version

    1.5.0

    License

    GPL-3.0

    Last publish

    Collaborators

    • hex7c0