🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

egg-get-router-raw-path

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-get-router-raw-path

get http raw path

1.0.0
latest
npm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 20 May 2019

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