Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

idb-keyval

Package Overview
Dependencies
Maintainers
1
Versions
44
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 2.1.0 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!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc