# superdooper

> Lightweight blazing fast HTTP request logger middleware for node.js for logging request metrics and stats

Latest version **1.0.9** (published 2018-09-07) · GPL V3.0 license · 0 weekly downloads

## Install

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

## 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.0.9 |
| Published | 2018-09-07 |
| First published | 2018-09-05 |
| Weekly downloads | 0 |
| License | GPL V3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 1.0.0 |
| Dependencies | 3 |
| Unpacked size | 44.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | leontinashe |
| Keywords | express, http, logger, superdooperjs, bet logger, logging, super dooper, middleware, nodejs |

## Links

- npm: https://www.npmjs.com/package/superdooper
- Repository: https://github.com/techadontech/superdooper
- Homepage: https://github.com/techadontech/superdooper#readme
- Issues: https://github.com/techadontech/superdooper/issues
- npm.io page: https://npm.io/package/superdooper

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) 2.6.9
- [on-headers](https://npm.io/package/on-headers.md) ~1.0.1
- [on-finished](https://npm.io/package/on-finished.md) ~2.3.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.9 (latest) — 2018-09-07
- 1.0.8 — 2018-09-05
- 1.0.5 — 2018-09-05

## README

# superdooper

superdooper is a Lightweight blazing fast HTTP request logger middleware for node.js for logging request metrics and stats.

## Features

logging incoming requests -----------------
    Request Time in UTC     |         
    Remote IP address       |
    Request method          |
    Request URL             |
    Http-version            |
    Response Status          |
    Response Content Length   |
    Request Referrer           |
    Request User-agent         |
    Response time              |
    Cpu usage Time              | 
    Memory used to process request            |

## Importing

```javascript
// Using Node.js `require()`
const superdooper = require('superdooper');

// Using ES6 imports
import superdooper from 'superdooper';
```

## Contributors

Currently the module is being mainatined by [Leon Tinashe Mwandiringa](https://twitter.com/ogtechadon)
more contributors are welcome

## Installation

First install [node.js](http://nodejs.org/). Then:

```sh
$ npm install superdooper
```

## Overview

### Using superdooper

```js
const app = require('express')();
const superdooper = require('superdooper');
const port = 3000;

app.use(superdooper('loggingfilelocation.log'));

app.get('/', function(req, res){

    res.status(200).send('its working');
});

app.listen(port, function(err){

    if(err){
        throw new Error("an error just occured "+err);
    }

    console.log('app is running on port '+ port);

});

```
if you dont want to log to afile you can write the middleware without any parameters

## License

Copyright (c) 2018 Leontinashe &lt;tinashe.leon@yahoo.com&gt;

This module is licensed under GPL Liense v3.0

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