Options
All
  • Public
  • Public/Protected
  • All
Menu

Object representing KeyEntryStorage configuration options. This combines the IStorageAdapterConfig with the ability to specify the adapter itself. All three properties are mutually exclusive.

Hierarchy

  • IKeyEntryStorageConfig

Index

Properties

Properties

Optional adapter

Object implementing the IStorageAdapter interface.

Optional dir

dir: undefined | string

Node.js only. File system path to the folder where the entries will be persisted. If it's a relative path, it is resolved using {@link path.resolve|https://nodejs.org/dist/latest/docs/api/path.html#path_path_resolve_paths}.

Optional name

name: undefined | string

Browser only. Name of the IndexedDB database where the entries will be persisted.