New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

http-trick

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-trick

Http Trick - 拦截http(s)请求拦截,修改请求数据,修改响应内容

latest
npmnpm
Version
2.0.15
Version published
Maintainers
2
Created
Source

local

本地配置数据

server

同步自服务器端的数据

option

传给map函数的参数

utils

提供工具函数,供映射函数使用

规则匹配问题诊断

url的规则匹配结果存放在 log/map中

conf中的配置说明

##mapparam 传给map函数的参数 ##username 用户名

host配置规则:一行一个,有*号的优先级会降低

10.9.51.44 cp.qima-inc.com 10.9.51.44 *.qima-inc.com

FAQs

Package last updated on 22 Sep 2025

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