2.1.0 • Published 12 months ago

httpbin.js v2.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
12 months ago

httpbin.js

npm version Licence dependency status

A simple HTTP server that logs request attributes to bunyan and (optionally) response body.
Inspired by HTTPbin, but supports arbitrary endpoint.

Installation

npm install -g httpbin.js
npm install -g bunyan # this is optional but recommended

Usage

print to console

httpbin.js

If you have bunyan installed:

httpbin.js | bunyan

log to file

httpbin.js | bunyan | tee log.json

listen on other port

httpbin.js listens on 35000 by default, you can change it by:

httpbin.js -p 12345
2.1.0

12 months ago

2.0.0

12 months ago

1.3.0

5 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago