request-dump
v1.0.0
Published
A command line utility to inspect and relay web requests.
Downloads
7
Readme
request-dump
A command line utility to inspect and relay web requests.
Usage
--port=<port> - Port to listen on for requests (ex. --port=1234) Mandatory
--host<host> - Host to forward traffic from port to. (ex. --host=http://localhost:8080) Optional
Example
request-dump --port=8080 --host=http://localhost:3000
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install request-dump -g
Dependencies
- chalk: Terminal string styling done right. Much color.
- http-proxy: HTTP proxying for the masses
- minimist: parse argument options
- multiline: Multiline strings in JavaScript
License
MIT