# 使用 npm 安装 http-request-mock

查看 http-request-mock 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:http-request-mock
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g http-request-mock
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:http-request-mock
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/http-request-mock>
- **版本:** 2.0.2
- **来源摘要:** Intercept & mock http requests issued by XMLHttpRequest, fetch, nodejs https/http module, axios, jquery, superagent, ky, node-fetch, request, got or any other request libraries by intercepting XMLHttpRequest, fetch and nodejs native requests in low level.
- **主页:** <https://huturen.github.io/http-request-mock-docs/>
- **仓库:** <https://github.com/huturen/http-request-mock>
- **上游文档:** <https://huturen.github.io/http-request-mock-docs/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/http-request-mock/-/http-request-mock-2.0.2.tgz>
- **问题跟踪器:** <https://github.com/huturen/http-request-mock/issues>
- **发布时间:** 2024-10-16T14:39:23.220Z
- **最后更新:** 2024-10-16T14:39:23.220Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- http-request-mock (cli)
- http-request-mock-cli (cli)
- http-request-mock (别名)

## 依赖

- @ngneat/falso
- @types/follow-redirects
- chokidar
- commander
- follow-redirects
- http-proxy

## 构建依赖

- @babel/core
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-object-rest-spread
- @babel/plugin-proposal-optional-chaining
- @babel/plugin-syntax-dynamic-import
- @babel/plugin-transform-arrow-functions
- @babel/plugin-transform-async-to-generator
- @babel/plugin-transform-classes
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-typescript
- @babel/runtime
- @commitlint/cli
- @commitlint/config-conventional
- @types/node
- @types/webpack
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- axios
- babel-loader
- babel-polyfill
- copy-dir
- del-cli
- eslint
- got
- husky
- jest
- jquery
- ky
- mocha
- node-fetch
- node-loader
- standard-version
- superagent
- ts-jest
- ts-loader
- ts-node
- typescript
- webpack
- webpack-cli
- webpack-watch-files-plugin

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.0.2
- 管理器更新时间: 2024-10-16
- 本地数据: OK
- 上游仓库: https://github.com/huturen/http-request-mock
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 http-request-mock 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.2
- **Version Count:** 190
- **Maintainers:** huturen
- **Author:** shuilonghu
- **Publisher:** huturen
- **Engines:** Node: ^12.18.0 || >=14.13.1
- **Integrity:** sha512-NE9hf4N7iTEeO/6+PCzdkrqf/3LXdmLz6VQsd5WVpkJtz/FIHxE3KhMWykwjy1e5tFjQWAe0hxcSMNqXMdqRkQ==
- **Shasum:** 50232b0836dfcb3f903cabec0583de51af08d511
- **Unpacked Size:** 3,882,244
- **File Count:** 0
- **Created At:** 2021-07-30T09:00:20.057Z
- **Latest Published At:** 2024-10-16T14:39:23.220Z
- **Modified At:** 2024-10-16T14:39:23.382Z


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [cy2](https://pkg.so/zh-hans/npm/cy2/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, follow, follow-redirects.
- [selenium-standalone](https://pkg.so/zh-hans/npm/selenium-standalone/) - Local package facts share a topical domain. Shared terms: cli, commander, developer, developer-tools, got.
- [testem](https://pkg.so/zh-hans/npm/testem/) - Local package facts share a topical domain. Shared terms: chokidar, cli, commander, developer, developer-tools.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
