@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Module simulator

    In-memory B2 simulator for testing without network I/O.

    B2Simulator implements 25+ B2 native API operations at the request/response level. Create a simulator, call B2Simulator.transport to get an HttpTransport, and pass it to B2Client. Ideal for unit tests, CI pipelines, and local development.

    Classes

    B2Simulator

    Interfaces

    B2SimulatorOptions
    FaultHandle
    FaultSpec
    SimulatorDownloadResponse
    SimulatorJsonResponse

    Variables

    BUCKET_INFO_MAX_KEYS
    BUCKET_INFO_VALUE_MAX
    BUCKET_NAME_MAX
    BUCKET_NAME_MIN
    FILE_INFO_TOTAL_MAX
    FILE_INFO_VALUE_MAX
    FILE_NAME_MAX_BYTES
    LIST_ENDPOINT_CAPS