# 使用 npm 安装 oauth2-mock-server

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

## 安装

```sh
sudo av install npm:oauth2-mock-server
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g oauth2-mock-server
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:oauth2-mock-server
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/oauth2-mock-server>
- **版本:** 9.1.0
- **来源摘要:** Configurable OAuth2/OpenID Connect server for automated testing and development purposes
- **主页:** <https://github.com/axa-group/oauth2-mock-server#readme>
- **仓库:** <https://github.com/axa-group/oauth2-mock-server>
- **上游文档:** <https://github.com/axa-group/oauth2-mock-server#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/oauth2-mock-server/-/oauth2-mock-server-9.1.0.tgz>
- **问题跟踪器:** <https://github.com/axa-group/oauth2-mock-server/issues>
- **发布时间:** 2026-06-30T09:59:08.498Z
- **最后更新:** 2026-06-30T09:59:08.498Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- oauth2-mock-server (cli)
- oauth2-mock-server (别名)

## 依赖

- basic-auth
- is-plain-obj
- jose

## 构建依赖

- @eslint/js
- @types/basic-auth
- @types/node
- @types/supertest
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- @vitest/coverage-v8
- @vitest/eslint-plugin
- eslint
- eslint-config-prettier
- eslint-import-resolver-typescript
- eslint-plugin-import-x
- eslint-plugin-jsdoc
- eslint-plugin-prettier
- prettier
- supertest
- tsdown
- typescript
- typescript-eslint
- vitest

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 9.1.0
- 管理器更新时间: 2026-06-30
- 本地数据: OK
- 上游仓库: https://github.com/axa-group/oauth2-mock-server
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 9.1.0
- **Version Count:** 44
- **Maintainers:** poveden
- **Author:** Jorge Poveda
- **Publisher:** poveden
- **Engines:** Node: ^22.12 || ^24 || ^26
- **Integrity:** sha512-1Aug6KQhD9IoxyCogFb0XQqovSOhkvOSRUz5Zm98o96H4omt1HEbUMxwzgwl7GO42eh+BqBH/uCbcKIxi4OBbg==
- **Shasum:** 920d2c2f90c796131e98675aa2e229c1db0d602e
- **Unpacked Size:** 98,079
- **File Count:** 0
- **Created At:** 2018-07-27T16:14:49.687Z
- **Latest Published At:** 2026-06-30T09:59:08.498Z
- **Modified At:** 2026-06-30T09:59:08.600Z


## 相关链接

- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched curated package taxonomy and local package facts.
- [oso](https://pkg.so/zh-hans/npm/oso/) - Security-sensitive metadata or terminology overlaps. Shared terms: auth, cli, security, security-tools.
- [delivery-intel](https://pkg.so/zh-hans/npm/delivery-intel/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, security-tools.
- [owasp-dependency-check](https://pkg.so/zh-hans/npm/owasp-dependency-check/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, security-tools.

## 来源

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