The key used for encrypting the log file and storage file
The options for this storage instance
The size of the storage's cache
Clears the cached data in the storage
Returns an item identified by its key if exists, otherwise returns null
The key of the item
Whether this storage contains an item
The key of the item
Load all data from the logs and saved JSON
Loads all items inside the JSON file onto the cache
Removes an item from the storage
The key of the item
Whether to log the removed item
Saves the cache to the JSON file
Adds an item identified by a key to the storage
The identifier of the item
The item value
Whether to log the pair item to the log file
Converts the cached map into JSON
Generated using TypeDoc
The main interface of the library. Capable of caching, saving and loading storage data