Adds an item to IndexedDB.
Stores a value in localStorage under the given key.
Checks if a specific item exists in IndexedDB.
Checks if a specific item exists in localStorage.
Deletes an item from IndexedDB.
Deletes an item from localStorage.
Retrieves a specific item from IndexedDB.
Retrieves a value from localStorage by its key and parses it as JSON.