An open API service indexing awesome lists of open source software.

https://github.com/omrilotan/httprint

Log incoming requests on an HTTP server
https://github.com/omrilotan/httprint

debug http logger productivity

Last synced: about 1 year ago
JSON representation

Log incoming requests on an HTTP server

Awesome Lists containing this project

README

          

# httprint: HTTP Logger [![](https://img.shields.io/npm/v/httprint.svg?style=flat-square)](https://www.npmjs.com/package/httprint)

![](https://github.com/omrilotan/httprint/assets/516342/84465965-a6e6-41a8-923c-a3158c4a8b39)

```bash
npx httprint [port] [host] [options]
```

Companion: [udprint](https://www.npmjs.com/package/udprint)

## Named Parameters

| Parameter | Description | Default |
| - | - | - |
| `--host`, `-h` | Hostname to listen on | `localhost` |
| `--port`, `-p` | Port to listen on | `1337` |
| `--status`, `-s` | Status code to respond with | `200` |
| `--delay`, `-d` | Delay in milliseconds | `0` |
| `--interactive`, `-i` | Interactive mode | No |
| `--help` | Show help | No |