Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floatdrop/debug-http
Debug HTTP/HTTPS requests in Node.js
https://github.com/floatdrop/debug-http
Last synced: 2 days ago
JSON representation
Debug HTTP/HTTPS requests in Node.js
- Host: GitHub
- URL: https://github.com/floatdrop/debug-http
- Owner: floatdrop
- License: mit
- Created: 2015-11-16T08:28:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-25T13:15:26.000Z (over 6 years ago)
- Last Synced: 2024-12-27T06:08:16.595Z (9 days ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 192
- Watchers: 4
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# debug-http [![Build Status](https://travis-ci.org/floatdrop/debug-http.svg?branch=master)](https://travis-ci.org/floatdrop/debug-http)
> Debug HTTP/HTTPS requests in Node.js
## Install
```
$ npm install --save debug-http
```## Usage
```js
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](http://github.com/floatdrop)