@dumpstate/ixdb-kv-store
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

ixdb-kv-store

IndexedDB API is hard to work with. Key-Value store-like wrapper to make it super easy.

Installation

Install package:

npm install @dumpstate/ixdb-kv-store --save

Usage

Create the store:

const store = await KVStore.create("my_store")

add values:

await store.set("a-key", "a-value")

fetch values by key:

await store.get("a-key")

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i @dumpstate/ixdb-kv-store

    Weekly Downloads

    2

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    13.8 kB

    Total Files

    14

    Last publish

    Collaborators

    • dumpstate