Delete a value from the storage
Get a value from the storage
Get total localstorage size in MB. If key is provided, it will return size in MB only for the corresponding item.
Add a event listener for the 'onstorage' event
Save a value to the storage
The unique id to save the data on
The value, can be any datatype. If it's an object, make sure to enable json in the options
Clear the storage, will clean all saved items