Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 464 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 464 Bytes

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

API

See docs and tests for more info.