Skip to main content

What this tab covers

This tab breaks down the public ByteKit API by module family.
  • Core HTTP and request types
  • Resilience and request control primitives
  • Async utilities
  • Observability modules
  • Helper modules exposed through focused entrypoints

Public entrypoints

EntrypointPurpose
bytekitRoot export for the main surface area
bytekit/api-clientHTTP client, request helpers, ApiError
bytekit/retry-policyRetryPolicy, CircuitBreaker
bytekit/response-validatorBuilt-in response validation
bytekit/schema-adapterzodAdapter, valibotAdapter
bytekit/asyncRetry, timing, concurrency, flow control
bytekit/loggerStructured logging
bytekit/profilerExecution timing and performance measurement
bytekit/debugDevelopment diagnostics
bytekit/request-cacheRequest result caching
bytekit/request-deduplicatorIn-flight request deduplication
bytekit/rate-limiterToken bucket and sliding window limiters
bytekit/error-boundaryError normalization and boundary utilities
bytekit/env-managerEnvironment variable access
bytekit/storage-utilsStorage helpers
bytekit/file-uploadUpload helpers
bytekit/streamingNDJSON, SSE, and streamed downloads
bytekit/websocketWebSocket helper utilities
bytekit/cache-managerGeneric cache strategies
bytekit/compression-utilsCompression helpers
bytekit/crypto-utilsHashing, tokens, UUIDs, comparisons
bytekit/diff-utilsObject and array diffing
bytekit/event-emitterEvent bus primitives
bytekit/polling-helperPolling workflows
bytekit/url-helperURL parsing, building, slugify

How to use this section

  • Start with HTTP client if your app centers around API requests.
  • Start with Resilience if you need retries, caching, or throttling.
  • Start with Async if you only need flow-control utilities.
  • Start with Helpers if you need the rest of the utility surface.
This section documents public package modules and the intended purpose of each export. It is not generated from TypeDoc, so examples stay editorial and task-focused.