Documentation
    Preparing search index...

    Module @quatrain/api-client

    @quatrain/api-client

    The @quatrain/api-client package provides an isomorphic, lightweight HTTP client designed specifically for Quatrain APIs. It works seamlessly in both Node.js and Browser environments.

    • Isomorphic: Uses native fetch (with polyfills if necessary) to work across backend services and frontend applications.
    • Auto-serialization: Automatically formats queries, payloads, and multipart form data.
    • Authentication: Built-in support for Bearer tokens and generic authentication providers.
    • REST Abstraction: Offers clean wrappers for GET, POST, PUT, and DELETE.

    Refer to the HOWTO.md file for usage examples.

    Enumerations

    Method

    Classes

    ApiClient
    BasicAuthProvider
    BearerAuthProvider
    OAuthProvider

    Interfaces

    AuthProvider
    RestApi

    Type Aliases

    QueryOptions
    SelectValuesOptions