kvs
kvs copied to clipboard
Lightweight key-value storage library for Browser, Node.js, and In-Memory.
https://codesandbox.io/s/kvs-example-basic-o3srd2 I do not why this is happened.
use [playwright-test](https://github.com/hugomrdias/playwright-test) instead of Karma Props - Simple Cons - Can not manage version
We can improve `AsyncIterable` typing. `AsyncIterable` may be `AsyncIterable`?
### indexeddbでtable(store)が生成されない 便利なプラグインを作成いただきありがとうございます! データベース'test'が存在しない状態で ```js kvsIndexedDB({ name: "test", version: 4 }); ``` のようにversionに1より大きい数を指定した場合、 データベース'test'は生成されますが、 table 'kvs'が生成されません。 version: 1を指定した場合は正しく table 'kvs'が生成されます。 ソースのこの部分を下記のように、oldVersionの判定を追加する形にするとバージョンが大きい場合もテーブルが生成されるようになりました。 https://github.com/azu/kvs/blob/bd85ca1e2b31c32bcf52f780727f971db115aab7/packages/indexeddb/src/index.ts#L39 ```diff - if (!newVersion || newVersion