keq-debug
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

logo

KEQ-DEBUG

version downloads license dependencies

Log keq request Infomation to console.

Usage

import { request } from "keq";
import debug from "keq-debug";

request.use(debug());

// Set Options
request.use(debug({ requestBody: false, responseBody: false }));

Options

Option Default Description
requestBody false Log the request body.
responseBody false Log the response body.

Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together.

Readme

Keywords

Package Sidebar

Install

npm i keq-debug

Weekly Downloads

14

Version

2.0.5

License

MIT

Unpacked Size

23.1 kB

Total Files

16

Last publish

Collaborators

  • val.istar.guo