@aghoz/svelte
v0.4.3
Published
Svelte client for Aghoz — stores for resumable edge event streams with explicit replay gaps.
Maintainers
Readme
@aghoz/svelte
Svelte stores: setAghozClient, topic, topicReducer. svelte/store readables rather than runes, so one package covers Svelte 4 and 5 with no compiler step.
npm install @aghoz/svelteRuns in any browser with fetch and ReadableStream, and in Node 22+. It talks
to an aghoz hub, which is Node.js only for now — there is no server adapter for
another language yet. Cross-origin clients support cookie credentials and dynamic
headers that are evaluated again on reconnect; see the integration guide.
Full documentation, the integration guides and the wire protocol live in the monorepo: https://github.com/akosidencio/aghoz
License
MIT OR Apache-2.0, at your option.
