# request-array

> A simple node module that returns with an array of the HTTP request's basic properties.

Latest version **1.0.0** (published 2018-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install request-array
pnpm add request-array
yarn add request-array
bun add request-array
```

## 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.0 |
| Published | 2018-10-18 |
| First published | 2018-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dávid Eredics |
| Maintainers | davideredics |
| Keywords | request, http, array, log, logger |

## Links

- npm: https://www.npmjs.com/package/request-array
- Repository: https://github.com/DavidEredics/request-array
- Homepage: https://github.com/DavidEredics/request-array#readme
- Issues: https://github.com/DavidEredics/request-array/issues
- npm.io page: https://npm.io/package/request-array

## 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.0 (latest) — 2018-10-18

## README

# request-array
A simple node module that returns with an array of the HTTP request's basic properties.

## Installation

    $ npm install request-array

## Examples

### HTTP

```js
var http = require('http')
var request_array = require('request-array');

http.createServer(function (req, res) {
    res.write('Hello World!');
    res.end();

    console.log(request_array(req));

}).listen(8080);
```

### Express

```js
const express = require('express')
const app = express()
const port = 8080

var request_array = require('request-array');

app.get('/', function (req, res) {
    res.send('Hello World!')

    console.log(request_array(req));
})

app.listen(port, () => console.log(`Example app listening on port ${port}!`))
```

## License

[MIT](LICENSE)

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