@memsdb/backup-localstorage
v1.0.1
Published
Backup layer for storing MemsDB backup data in the browsers localStorage
Downloads
8
Maintainers
Readme
A backup engine for MemsDB. This engine will backup to the browser's localStorage
import { DB } from '@memsdb/core'
import { LocalStorageBackup } from '@memsdb/backup-localstorage'
const db = new DB('test', {
backupProvider: new LocalStorageBackup(),
})