npm

@socketsupply/indexed

1.0.4 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @socketsupply/indexed

    Weekly Downloads

    1

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    30.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • chicoxyzzy
    • hij1nx
    • werle