deleteDatabase() - delete the database from localstorage, will throw an error if it can't be deleted
the filename of the database to delete
a Promise that resolves after the database was deleted
loadDatabase() - Load data from localstorage
the name of the database to load
a Promise that resolves after the database was loaded
saveDatabase() - save data to localstorage, will throw an error if the file can't be saved might want to expand this to avoid dataloss on partial save
the filename of the database to load
a Promise that resolves after the database was saved
Deregisters the local storage as plugin.
Registers the local storage as plugin.
Generated using TypeDoc
A loki persistence adapter which persists to web browser's local storage object
LocalStorageAdapter