# tickle

> request counter

Latest version **1.5.0** (published 2017-12-30) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install tickle
pnpm add tickle
yarn add tickle
bun add tickle
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2017-12-30 |
| First published | 2014-06-14 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | hex7c0 |
| Maintainers | hex7c0 |
| Keywords | counter, request |

## Links

- npm: https://www.npmjs.com/package/tickle
- Repository: https://github.com/hex7c0/tickle
- Issues: https://github.com/hex7c0/tickle/issues
- npm.io page: https://npm.io/package/tickle

## Recent versions

- 1.5.0 (latest) — 2017-12-30
- 1.4.0 — 2017-02-13
- 1.3.0 — 2016-09-12
- 1.2.3 — 2015-11-27
- 1.2.2 — 2015-09-30
- 1.2.1 — 2015-08-18
- 1.2.0 — 2015-04-09
- 1.1.9 — 2015-02-25
- 1.1.8 — 2014-11-18
- 1.1.7 — 2014-10-26
- 1.1.6 — 2014-10-04
- 1.1.5 — 2014-09-01
- 1.1.4 — 2014-08-23
- 1.1.3 — 2014-08-12
- 1.1.2 — 2014-08-04
- … 7 more at https://npm.io/package/tickle/versions

## README

# [tickle](https://github.com/hex7c0/tickle)

[![NPM version](https://img.shields.io/npm/v/tickle.svg)](https://www.npmjs.com/package/tickle)
[![Linux Status](https://img.shields.io/travis/hex7c0/tickle.svg?label=linux-osx)](https://travis-ci.org/hex7c0/tickle)
[![Windows Status](https://img.shields.io/appveyor/ci/hex7c0/tickle.svg?label=windows)](https://ci.appveyor.com/project/hex7c0/tickle)
[![Dependency Status](https://img.shields.io/david/hex7c0/tickle.svg)](https://david-dm.org/hex7c0/tickle)
[![Coveralls](https://img.shields.io/coveralls/hex7c0/tickle.svg)](https://coveralls.io/r/hex7c0/tickle)

Request counter for [nodejs](http://nodejs.org), independent for every route

## Installation

Install through NPM

```bash
npm install tickle
```
or
```bash
git clone git://github.com/hex7c0/tickle.git
```

## API

inside expressjs project
```js
var tickle = require('tickle');

var app = require('express')();

app.use(tickle);
```

Class is stored inside _global_ **Object**.
One istance for environment.
```js
global.tickle;
```

### Methods

reset all counter
```js
global.tickle.reset();
```

get time per request
```js
global.tickle.tpr();
```

routing information are stored inside an **Object**
```js
global.tickle.route;
```

## Examples

Take a look at my [examples](examples)

### [License GPLv3](LICENSE)

---
_Source: https://npm.io/package/tickle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
