Socket
Socket
Sign inDemoInstall

egg-get-router-raw-path

Package Overview
Dependencies
322
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    egg-get-router-raw-path

get http raw path


Version published
Maintainers
1
Install size
19.0 MB
Created

Readme

Source

EGG-GET-ROUTER-RAW-PATH

在请求过程中获取当前请求的原始路由路径

installation

npm i egg-get-router-raw-path [--save]

usage

plugin.js

export.routeRawPath = {
    enable: true,
    package: 'egg-get-router-raw-path'
}

get router raw path from context in controller

const routerRawPath = ctx.routerRawPath;

FAQs

Last updated on 20 May 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc