idb-keyval
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"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! |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5790
53