@floriandorau/httplog
Simple node app to log http request into your console
Last updated 22 days ago by floriandorau .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @floriandorau/httplog 
SYNC missed versions from official npm registry.

httplog

Simple node app to log http request right into your console.

Installation

Run the following to install httplog globally on your system.

npm install -g @floriandorau/httplog

After that run httplog --help to see how it works.

How it works

Use the following command to start a local http server running at port 8080.

httplog 8080

You can now redirect your traffic to the started http server. Your request data will dumped into you console.

Options

ngrok

Use this option to make your httplog server available over the public internet, e.g.

httplog 8080 --ngrok

With the above command the port 8080 will be exposed using the ngrok service.

proxy-mode [Beta]

Use this option to make httplog acting as a proxy, e.g.

httplog 8080 --proxy-mode localhost:8081

With this each incoming request at port 8080 will be forwarded to port 8081 too.

Current Tags

  • 1.1.1                                ...           latest (22 days ago)

3 Versions

  • 1.1.1                                ...           22 days ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 13
Dependencies (5)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |