wallet-core/packages/idb-bridge
Florian Dold f56a563533
build system: get rid of prepare scripts
These don't seem to be the right location to compile packages.
The newest version of pnpm runs all those scripts on "pnpm install",
even if we filter for only one package.  That results in a build
performance issue.
2023-06-06 15:25:53 +02:00
..
src spill extra functionality from wallet-cli into taler-harness 2022-12-23 13:19:41 +01:00
.gitignore get rid of web-common and build directory (in favor of just dist/) 2019-08-18 21:30:33 +02:00
.npmignore db import/export and commit callback 2019-08-16 19:05:48 +02:00
package.json build system: get rid of prepare scripts 2023-06-06 15:25:53 +02:00
README.md idb wip 2019-06-15 22:44:54 +02:00
tsconfig.json -formatting 2022-10-13 14:24:40 +02:00

idb-bridge

The idb-bridge package implements the IndexedDB API with multiple backends.

Currently available backends are:

  • sqlite: A SQLite3 database. Can be backed by a file or in memory.
  • memdb: An unoptimized in-memory storage backend. Useful for environments that do not have sqlite.

Known Issues

IndexedDB assumes that after a database has been opened, the set of object stores and indices does not change, even when there is no transaction active. We cannot guarantee this with SQLite.

Acknowledgements

This library is based on the fakeIndexedDB library (https://github.com/dumbmatter/fakeIndexedDB).