@ohmyperf/share-client

v0.1.1

Published

Upload/fetch shareable reports; runs the redaction pipeline before upload.

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 ShareSecretLeakError listing the leaked env key names if any are found.
  • Default behavior refuses upload unless --unsafe-share-with-secrets is passed.
  • Compatible with the @ohmyperf/share-server backend (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-client

Requires Node ≥ 22.

License

Apache-2.0 — see LICENSE and NOTICE.