Source: https://docs.any.org/quickstart/javascript.html # JavaScript Everything is `fetch`. The one wrinkle is live reads: the subscribe endpoints are POSTs (the filter body does not fit a query string), so the browser's `EventSource` does not apply — you read the response body as a stream and split SSE frames yourself. The blocks below form one file: create a space and a page, keep an ordered live window over the space, rename the page while the subscription is open, and reopen the stream when it drops. [Download client.mjs](https://docs.any.org/assets/examples/client.mjs), or copy the `js` blocks in order; they run top to bottom as an ES module (top-level `await`) in Node 18+ (`node client.mjs`) or a browser (`