Delete the database file, will throw an error if the file can't be deleted
the filename of the database to delete
a Promise that resolves after the database was deleted
Load data from file, will throw an error if the file does not exist
the filename of the database to load
a Promise that resolves after the database was loaded
Save data to file, 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 persisted
Deregisters the fs storage as plugin.
Registers the fs storage as plugin.
Generated using TypeDoc
A loki persistence adapter which persists using node fs module.