https://github.com/cadgerfeast/dexie-cross
Dexie Cross Domain Addon
https://github.com/cadgerfeast/dexie-cross
addon cross database dexie dexiejs
Last synced: 7 months ago
JSON representation
Dexie Cross Domain Addon
- Host: GitHub
- URL: https://github.com/cadgerfeast/dexie-cross
- Owner: cadgerfeast
- License: mit
- Created: 2022-06-14T18:35:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-05T13:12:35.000Z (over 3 years ago)
- Last Synced: 2024-12-28T14:44:51.158Z (over 1 year ago)
- Topics: addon, cross, database, dexie, dexiejs
- Language: Vue
- Homepage: https://dexie-cross.cadgerfeast.dev
- Size: 1.58 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# dexie-cross
[](https://sonarcloud.io/dashboard?id=cadgerfeast_dexie-cross)
[](https://sonarcloud.io/dashboard?id=cadgerfeast_dexie-cross)
[](https://www.npmjs.com/package/dexie-cross)
[](https://www.npmjs.com/package/dexie-cross)
[](https://github.com/cadgerfeast/dexie-cross/blob/master/LICENSE)

> Dexie Cross Domain Addon
**Dexie Cross** allows you to share a [Dexie](https://dexie.org/) 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](https://content-security-policy.com/) header set.
Once it's done, commands will be passed to the host database via `postMessage` API.