debug-http icon indicating copy to clipboard operation
debug-http copied to clipboard

Debug HTTP/HTTPS requests in Node.js

debug-http Build Status

Debug HTTP/HTTPS requests in Node.js

Install

$ npm install --save debug-http

Usage

const debugHttp = require('debug-http');
debugHttp();

const http = require('http');
http.get('http://google.com');

API

debugHttp([fn])

fn

Type: Function

Request handler. By default outputs requests in console.

License

MIT © Vsevolod Strukchinsky