Skip to content

API reference

Every public export, by entry point.

Entry points

importexports
@itsy/corgicorgi, compose, order, ORDER, HttpError, isHttpError, isTimeoutError, isAbortError + types
@itsy/corgi/timeoutwithTimeout (2022-safe)
@itsy/corgi/timeout-modernwithTimeout (Baseline 2024)
@itsy/corgi/retrywithRetry, type RetryOptions
@itsy/corgi/abort-previousabortPrevious
@itsy/corgi/schemaschema, parseWith, ValidationError, isValidationError, type StandardSchemaV1
@itsy/corgi/chonkenhanced corgi, CorgiChonkOptions, CorgiChonk, CorgiChonkAPI, and re-exports of everything above

@itsy/corgi

The root entry: the client, the composition engine, and errors.

Plugins (opt-in)

The middleware, each on its own import path: Plugins reference →

Released under the MIT License.