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, type AbortPrevious
@itsy/corgi/schemaschema, parseWith, ValidationError, isValidationError, type StandardSchemaV1
@itsy/corgi/chonkenhanced corgi, CorgiChonkOptions, CorgiChonk, CorgiChonkAPI, and re-exports of everything above
@itsy/corgi/testingmockFetch, httpError, networkError, abortError, timeoutError + types

@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 →

Testing (opt-in) ​

The fake transport and error factories, dev-only by nature: Testing reference →

Released under the MIT License.