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

Readme

Keywords

none

Package Sidebar

Install

npm i @dumpstate/ixdb-kv-store

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

13.8 kB

Total Files

14

Last publish

Collaborators

  • dumpstate