react-indexed-db
react-indexed-db copied to clipboard
A service that wraps IndexedDB database in an Declarative way. It exposes very simple promises API to enable the usage of IndexedDB without most of it plumbing.
Hello, thanks for a nice packages. i found `clear` function to delete `objectStore` but there is no delete database function, i guess. is there a function that can delete database?...
openCursor() has an optional parameter "direction" which decides the order of the returned items. https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/openCursor
This PR primarily refactors `initDB` to return a promise, so consumers of the lib can know when the DB is loaded. Other changes: * adds `/coverage` generated by karma to...
on [npm](https://www.npmjs.com/package/react-indexed-db-hook) doc. for `add(value, key)` have example code where ``` add({ name: 'name', email: 'email' }).then( event => { console.log('ID Generated: ', event.target.result); }, error => { console.log(error); }...
I use Gatsby to build a lot of my projects which does "server side rendering" (SSR) which does an initial pass at building pages in node.js. When including react-indexed-db into...
I see the following error when I run the project!! how can I fix it? 
Currently, the promise that wraps the indexedDB request handling DB open and store creation is not returned from the function, so it is impossible to know when the DB is...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...