bad_channel
v1.0.3
Published
Debugging tool to breakdown requests being sent from client to server.
Downloads
47
Maintainers
Readme
bad_channel
Debugging tool to breakdown requests being sent from client to server.
build
Express: 4 Node: v16
Usage
// import
const bad_channel = require('bad_channel');
// middleware usage
app.use(bad_channel({ req: true }));
Options
req: true
//outputs
{
protocol: 'http',
secure: false,
ip: '::1',
method: 'GET',
route: undefined,
hostname: 'localhost',
baseUrl: '',
path: '/',
param: {},
query: {},
cookies: undefined,
signedCookies: undefined,
stale: true,
body: undefined
}
~~res:~~ coming soon
version: 1.0.3