0.2.1 • Published 10 months ago

@dumpstate/ixdb-kv-store v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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")
0.2.1

10 months ago