🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

idb-keyval

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idb-keyval - npm Package Compare versions

Comparing version

to
2.1.1

2

package.json
{
"name": "idb-keyval",
"version": "2.1.0",
"version": "2.1.1",
"description": "A super-simple-small keyval store built on top of IndexedDB",

@@ -5,0 +5,0 @@ "main": "idb-keyval.js",

@@ -16,4 +16,6 @@ # IDB-Keyval

Since this is IDB-backed, you can also store numbers, arrays, objects and blobs. All methods return promises:
Since this is IDB-backed, you can store anything structured-clonable (numbers, arrays, objects, dates, blobs etc).
All methods return promises:
```js

@@ -36,3 +38,3 @@ idbKeyval.set('hello', 'world')

// logs: ["hello", "foo"]
idbKeyval.get('hello').then(keys => console.log(keys));
idbKeyval.keys().then(keys => console.log(keys));
```

@@ -52,2 +54,2 @@

That's it!
That's it!