debug-http

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i debug-http

Weekly Downloads

308

Version

1.1.0

License

MIT

Last publish

Collaborators

  • floatdrop