@ohmyperf/share-client
v0.1.1
Published
Upload/fetch shareable reports; runs the redaction pipeline before upload.
Maintainers
Readme
@ohmyperf/share-client
Upload + fetch shareable ohmyperf reports. Runs env-secret redaction before upload.
- Scans the report JSON for any env-secret values appearing in URLs, headers, or query params; throws
ShareSecretLeakErrorlisting the leaked env key names if any are found. - Default behavior refuses upload unless
--unsafe-share-with-secretsis passed. - Compatible with the
@ohmyperf/share-serverbackend (Cloudflare Workers + R2 + D1 or Node + S3 + SQLite).
Part of the ohmyperf monorepo. Most users install the @ohmyperf/cli or @ohmyperf/mcp-server binary rather than this package directly.
Install
npm install @ohmyperf/share-clientRequires Node ≥ 22.