Clears all items from the storage.
This method removes all key-value pairs from the storage, effectively resetting it to an empty state.
Whether debugging is enabled.
Retrieves data from the storage and optionally executes a callback with the retrieved data.
Optional
callback: (data: unknown) => voidAn optional callback function that will be called with the retrieved data.
Retrieves an item from the storage asynchronously.
A promise that resolves to the item retrieved from the storage, or null if the item does not exist.
Key for the storage.
Stores the provided data in IndexedDB and optionally executes a callback function.
The data to be stored.
Optional
callback: () => voidAn optional callback function to be executed after the data is stored.
Asynchronously sets the provided data in the storage.
The data to be stored.
A promise that resolves when the data has been stored.
LocalForage instance for the storage.
Version of the storage.
Storage class for Editor.