dexie-cross
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

dexie-cross

Quality Gate Status Coverage Version Downloads License


Dexie Cross Icon

Dexie Cross Domain Addon

Dexie Cross allows you to share a Dexie database with other domains.

  • On host side, it's easy as adding an addon to your database.
  • On client side, you should instantiate a specific DexieCrossClient class.

Behind the scenes, the client creates a hidden iframe pointing to the domain where the host database is located.

Thats means that this URL should have correct Content Security Policy header set.

Once it's done, commands will be passed to the host database via postMessage API.

Package Sidebar

Install

npm i dexie-cross

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

35.4 kB

Total Files

10

Last publish

Collaborators

  • cadgerfeast