1.0.1 • Published 3 years ago

@memsdb/storage-localstorage v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

A storage engine for MemsDB. This engine will store the data for a document in the browsers localStorage. Each document will be a seperate entry in localStorage where the ID of the document is the key.

The data can be retrieved via doc.data

import { DB } from '@memsdb/core'
import { LocalStorage } from '@memsdb/storage-localstorage'

const db = new DB('test', {
  backupProvider: new LocalStorage(),
})
1.0.1

3 years ago

1.0.0

3 years ago

0.4.1

3 years ago

0.4.2

3 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago