Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

koa-debug

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-debug

返回Koa框架所有的属性用于调试和测试

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
6
500%
Maintainers
1
Weekly downloads
 
Created
Source

koa-debug

返回 Koa 框架的属性用于调试和测试

返回格式演示

{
    "headers": {
        "aaa": "ddd",
        "content-type": "application/json",
        "user-agent": "PostmanRuntime/7.26.3",
        "accept": "*/*",
        "postman-token": "04f9991a-a013-4848-8bf3-ebfd5d7f8b4b",
        "host": "127.0.0.1:8002",
        "accept-encoding": "gzip, deflate, br",
        "connection": "keep-alive",
        "content-length": "16"
    },
    "url": "/school/class?id=12&name=mark",
    "origin": "http://127.0.0.1:8002",
    "href": "http://127.0.0.1:8002/school/class?id=12&name=mark",
    "method": "GET",
    "path": "/school/class",
    "query": {
        "id": "12",
        "name": "mark"
    },
    "querystring": "id=12&name=mark",
    "search": "?id=12&name=mark",
    "host": "127.0.0.1:8002",
    "hostname": "127.0.0.1",
    "protocol": "http",
    "secure": false,
    "ips": [],
    "ip": "::ffff:127.0.0.1",
    "subdomains": [],
    "body": {
        "name": "inlym"
    },
    "rawBody": "{\"name\":\"inlym\"}"
}

FAQs

Package last updated on 05 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts