macOS
brew install stripe-mocklocal Homebrew formula metadata
安装
brew install stripe-mocklocal Homebrew formula metadata
sudo zypper install stripe-mockopenSUSE Tumbleweed package metadata · stripe-mock · 来源: download.opensuse.org
概览
Mock HTTP server that responds like the real Stripe API
历史
stripe-mock is Stripe's official mock HTTP server for basic sanity checks against the Stripe API shape. It is used in CLI and package-manager contexts as a local binary or service that lets SDKs and integration tests validate request paths and parameters without calling the live Stripe API.
Stripe's README says the project was first released in 2017 and that its original ambition was broader: returning responses that were realistic as well as type-correct. The same source explains that the scope has since narrowed; stripe-mock is deliberately stateless, hardcoded, and aimed at basic validation rather than full API behavior simulation.
The project is generated from Stripe's OpenAPI specification, which keeps the mock aligned with the latest methods, resources, and fields. That makes it part of Stripe's broader API tooling pipeline rather than a hand-maintained fake service.
Stripe documents use of stripe-mock inside server-side SDK test suites such as stripe-ruby and stripe-go. Package availability in the input shows distribution through Homebrew and zypper, while the official README also documents release downloads, Docker usage, and a Homebrew service.
Common usage is to start the `stripe-mock` server locally, then run tests or sample requests against its HTTP and HTTPS ports. The README also documents automatic port selection, Unix socket mode, Docker execution, and Homebrew service management.
Package maintainers care about stripe-mock because it turns a remote payments API into a reproducible local fixture for SDK testing. It is intentionally not a full emulator, but its OpenAPI-driven route and schema validation make it useful for packaging, CI, and client-library smoke tests.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
stripe-mock | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:stripe-mock |
|---|---|
| 版本 | 0.202.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/stripe/stripe-mock |
| 仓库 | https://github.com/stripe/stripe-mock |
| 最后更新 | 2026-07-26T04:03:47+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
stripe-mock 0.201.0-1.3
Mock HTTP server based on the real Stripe API
https://github.com/stripe/stripe-mock
sudo zypper install stripe-mock来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.