Driver implementation for the browser.

Usage:

import { IndexedDBDriver } from '@web3-storage/access/drivers/indexeddb'

Implements

Type Parameters

  • T

Hierarchy

Constructors

  • Type Parameters

    • T

    Parameters

    • dbName: string
    • Optional options: {
          autoOpen: undefined | boolean;
          dbStoreName: undefined | string;
          dbVersion: undefined | number;
      } = {}
      • autoOpen: undefined | boolean
      • dbStoreName: undefined | string
      • dbVersion: undefined | number

    Returns IndexedDBDriver<T>

Properties

#autoOpen: boolean
#db: undefined | IDBDatabase
#dbName: string
#dbStoreName: string
#dbVersion: undefined | number

Methods

Generated using TypeDoc