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
- Host: GitHub
- URL: https://github.com/omrilotan/httprint
- Owner: omrilotan
- License: unlicense
- Created: 2021-08-24T14:26:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T13:06:39.000Z (about 2 years ago)
- Last Synced: 2025-03-11T06:49:27.825Z (about 1 year ago)
- Topics: debug, http, logger, productivity
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# httprint: HTTP Logger [](https://www.npmjs.com/package/httprint)

```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 |