@socketsupply/indexed
v1.0.4
Published
A small async/await wrapper around IndexedDB.
Downloads
21
Readme
SYNOPSIS
A small async/await wrapper around IndexedDB.
EXAMPLE
import Indexed from '@socketsupply/indexed'
const db = await Indexed.open('example')
const { err: errPut } = await db.put('foo', 100)
const { err: errGet, data } = await db.get('foo')
console.log(data === 100)
INSTALL
npm install @socketsupply/indexed
TEST
npm run test